©
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
(PECL imagick 2.0.0)
Imagick::setInterlaceScheme — Sets the image compression
$interlace_scheme
)Sets the image compression.
interlace_scheme
成功时返回 TRUE
。
[#1] hayvanAdam [2008-05-12 03:24:27]
save progressive jpeg
<?php
$image = new Imagick('image.jpg');
$image->thumbnailImage(500, 0);
$image->setInterlaceScheme(Imagick::INTERLACE_PLANE);
$image->writeImage('progressive.jpg');
?>