The Imagick class
PHP Manual

Imagick::cropThumbnailImage

(PECL imagick 2.0.0)

Imagick::cropThumbnailImageCreates a crop thumbnail

说明

bool Imagick::cropThumbnailImage ( int $width , int $height )
Warning

本函数还未编写文档,仅有参数列表。

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

返回值

Returns TRUE on success.

错误/异常

Throws ImagickException on error.


The Imagick class
PHP Manual