Imagick
PHP Manual

Imagick::previewImages

(PECL imagick 2.0.0)

Imagick::previewImagesQuickly pin-point appropriate parameters for image processing

说明

bool Imagick::previewImages ( int $preview )

Tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths. This is helpful to quickly pin-point an appropriate parameter for an image processing operation.

参数

preview

Preview type. See Preview type constants

返回值

成功时返回 TRUE

错误/异常

错误时抛出 ImagickException。


Imagick
PHP Manual