imagick_resize
(PECL)
imagick_resize -- Resize image
说明
bool
imagick_resize ( resource image, int cols, int rows, int filter, float blur [, string geo_mods] )
参数
image
Image handle
cols
The number of columns desired in the scaled image
rows
The number of rows desired in the scaled image
filter
One of IMAGICK_FILTER_* constants
blur
The blur factor where > 1 is blurry, < 1 is sharp
geo_mods
Geometry modificators
返回值
如果成功则返回 TRUE,失败则返回 FALSE。