Imagick::setType (PECL imagick 2, PECL imagick 3)Imagick::setType — Sets the image type attribute 说明 public Imagick::setType(int $image_type): bool Sets the image type attribute. 参数 image_type 返回值 成功时返回 true。