imagick_crop
(PECL)
imagick_crop -- Extract a region of the image
说明
bool
imagick_crop ( resource image, int x, int y, int width, int height )
参数
image
Image handle
x
Horizontal offset
y
Vertical offset
width
Rectangle width
height
Rectangle height
返回值
如果成功则返回 TRUE,失败则返回 FALSE。