(PECL imagick 2, PECL imagick 3)
Imagick::setType — Sets the image type attribute
$image_type
Sets the image type applied to images written subsequently. To convert the current image instead, use Imagick::setImageType().
image_type
One of the imagick::IMGTYPE_* constants.
imagick::IMGTYPE_*
成功时返回 true。
true