Imagick
PHP Manual

Imagick::setType

(PECL imagick 2.0.0)

Imagick::setTypeSets the image type attribute

说明

bool Imagick::setType ( int $image_type )

Sets the image type attribute.

参数

image_type

返回值

成功时返回 TRUE .


Imagick
PHP Manual