save progressive jpeg
<?php
$image = new Imagick('image.jpg');
$image->thumbnailImage(500, 0);
$image->setInterlaceScheme(Imagick::INTERLACE_PLANE);
$image->writeImage('progressive.jpg');
?>
(PECL imagick 2, PECL imagick 3)
Imagick::setInterlaceScheme — Sets the image compression
$interlace_scheme
) : boolSets the image compression.
interlace_scheme
Întoarce true
în caz de succes.
save progressive jpeg
<?php
$image = new Imagick('image.jpg');
$image->thumbnailImage(500, 0);
$image->setInterlaceScheme(Imagick::INTERLACE_PLANE);
$image->writeImage('progressive.jpg');
?>