imagick_sample
(PECL)
imagick_sample -- Scale image using pixel sampling
说明
bool
imagick_sample ( resource image, int cols, int rows [, string geo_mods] )
参数
image
Image handle
cols
The number of columns in the scaled image
rows
The number of rows in the scaled image
geo_mods
Geometry modificators
返回值
如果成功则返回 TRUE,失败则返回 FALSE。