IT入门 > 教程 >
  • PHP imageaffine - 返回经过仿射变换后的图像 日期:2022-10-12 点击:5298 php

    imageaffine — 返回经过仿射变换后的图像,剪切区域可选。 语法 resource imageaffine ( resource $image , array $affine [, array $clip ] ) 参数 image 由图象创建函数(例如imagecreatetruecolor())返回的图象资源...

  • PHP imageaffinematrixconcat - 连接两个矩阵 日期:2022-10-12 点击:4369 php

    imageaffinematrixconcat — 连接两个矩阵。 语法 array imageaffinematrixconcat ( array $m1 , array $m2 ) 参数 m1 数组,其中键为 0 至 5 的数字。 m2 数组,其中键为 0 至 5 的数字。 返回值 成功则返回数组...

  • PHP imageaffinematrixget - 获取矩阵 日期:2022-10-12 点击:9409 php

    imageaffinematrixget — 获取矩阵。 语法 array imageaffinematrixget ( int $type [, mixed $options ] ) 参数 type IMG_AFFINE_* 常量。 options 返回值 成功则返回数组(其中键为 0 至 5 的数字)和浮点值,或者在...

  • PHP imagealphablending - 设定图像的混色模式 日期:2022-10-12 点击:4728 php

    imagealphablending — 设定图像的混色模式。 语法 bool imagealphablending ( resource $image , bool $blendmode ) imagealphablending() 允许在真彩色图像上使用两种不同的绘画模式。 在混色(blending)模式下,...

  • PHP imageantialias - 是否使用抗锯齿(antialias)功能 日期:2022-10-12 点击:5802 php

    imageantialias — 是否使用抗锯齿(antialias)功能。 语法 bool imageantialias ( resource $image , bool $enabled ) 对线段和多边形启用快速画图抗锯齿方法。不支持 alpha 部分。使用直接混色操作。仅用...

  • PHP imagearc - 画椭圆弧 日期:2022-10-12 点击:867 php

    imagearc — 用于画椭圆弧。 语法 bool imagearc ( resource $image , int $cx , int $cy , int $w , int $h , int $s , int $e , int $color ) imagearc() 以 cx,cy(图像左上角为 0, 0)为中心在 image 所代表的图像中画一...

  • PHP imagechar - 写出横向字符 日期:2022-10-12 点击:4684 php

    imagechar — 写出横向的字符。 语法 bool imagechar ( resource $image , int $font , int $x , int $y , string $c , int $color ) imagechar() 将字符串 c 的第一个字符画在 image 指定的图像中,其左上角位于 x,y(...

  • PHP imagecharup - 垂直地画一个字符 日期:2022-10-12 点击:6885 php

    imagecharup — 垂直地画一个字符。 语法 bool imagecharup ( resource $image , int $font , int $x , int $y , string $c , int $color ) imagecharup() 将字符 c 垂直地画在 image 指定的图像上,位于 x,y(图像左上角...

  • PHP imagecolorallocate - 为一幅图像分配颜色 日期:2022-10-12 点击:7034 php

    imagecolorallocate — 为一幅图像分配颜色。 语法 int imagecolorallocate ( resource $image , int $red , int $green , int $blue ) imagecolorallocate() 返回一个标识符,代表了由给定的 RGB 成分组成的颜色。red,...

  • PHP imagecolorallocatealpha - 为一幅图像分配颜色和透 日期:2022-10-12 点击:2115 php

    imagecolorallocatealpha — 为一幅图像分配颜色和透明度。 语法 int imagecolorallocatealpha ( resource $image , int $red , int $green , int $blue , int $alpha ) imagecolorallocatealpha() 的行为和 imagecolorallocate() 相同,...