imageaffine — 返回经过仿射变换后的图像,剪切区域可选。 语法 resource imageaffine ( resource $image , array $affine [, array $clip ] ) 参数 image 由图象创建函数(例如imagecreatetruecolor())返回的图象资源...
imageaffinematrixconcat — 连接两个矩阵。 语法 array imageaffinematrixconcat ( array $m1 , array $m2 ) 参数 m1 数组,其中键为 0 至 5 的数字。 m2 数组,其中键为 0 至 5 的数字。 返回值 成功则返回数组...
imageaffinematrixget — 获取矩阵。 语法 array imageaffinematrixget ( int $type [, mixed $options ] ) 参数 type IMG_AFFINE_* 常量。 options 返回值 成功则返回数组(其中键为 0 至 5 的数字)和浮点值,或者在...
imagealphablending — 设定图像的混色模式。 语法 bool imagealphablending ( resource $image , bool $blendmode ) imagealphablending() 允许在真彩色图像上使用两种不同的绘画模式。 在混色(blending)模式下,...
imageantialias — 是否使用抗锯齿(antialias)功能。 语法 bool imageantialias ( resource $image , bool $enabled ) 对线段和多边形启用快速画图抗锯齿方法。不支持 alpha 部分。使用直接混色操作。仅用...
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 所代表的图像中画一...
imagechar — 写出横向的字符。 语法 bool imagechar ( resource $image , int $font , int $x , int $y , string $c , int $color ) imagechar() 将字符串 c 的第一个字符画在 image 指定的图像中,其左上角位于 x,y(...
imagecharup — 垂直地画一个字符。 语法 bool imagecharup ( resource $image , int $font , int $x , int $y , string $c , int $color ) imagecharup() 将字符 c 垂直地画在 image 指定的图像上,位于 x,y(图像左上角...
imagecolorallocate — 为一幅图像分配颜色。 语法 int imagecolorallocate ( resource $image , int $red , int $green , int $blue ) imagecolorallocate() 返回一个标识符,代表了由给定的 RGB 成分组成的颜色。red,...
imagecolorallocatealpha — 为一幅图像分配颜色和透明度。 语法 int imagecolorallocatealpha ( resource $image , int $red , int $green , int $blue , int $alpha ) imagecolorallocatealpha() 的行为和 imagecolorallocate() 相同,...