(PECL imagick 2.0.0)
Imagick::cropThumbnailImage — Creates a crop thumbnail
$width
, int $height
)Creates a fixed size thumbnail by first scaling the image up or down and cropping a specified area from the center.
width
The width of the thumbnail
height
The Height of the thumbnail
成功时返回 TRUE
.
错误时抛出 ImagickException .