TUTORIALBackendFETCHED
PHP imageaffine - 返回经过仿射变换后的图像
PHP imageaffine - 返回经过仿射变换后的图像 PHP 图像处理 imageaffine — 返回经过仿射变换后的图像,剪切区域可选。 语法 resource imageaffine ( resource $image , array $affine [, array $clip ] ) 参数 image 由图象创建函数(例如imagecreatetruecolor())返回的图象资源。 affine 数组,其中..
Updated 7/16/2026
Tutorial detail pages default to noindex.
PHP imageaffine - 返回经过仿射变换后的图像
imageaffine — 返回经过仿射变换后的图像,剪切区域可选。
语法
resource imageaffine ( resource $image , array $affine [, array $clip ] )
参数
- image 由图象创建函数(例如imagecreatetruecolor())返回的图象资源。
- affine 数组,其中键为 0 至 5 的数字。
- clip 数组,其中键为 "x","y","width" 和 "height"。
返回值
成功则返回仿射变换后的图像, 或者在失败时返回 FALSE。
PHP 图像处理