Imagick::setInterlaceScheme

(PECL imagick 2, PECL imagick 3)

Imagick::setInterlaceSchemeSets the image compression

Description

public Imagick::setInterlaceScheme(int $interlace_scheme): bool

Sets the image compression.

Parameters

interlace_scheme

Return Values

Returns true on success.

add a note add a note

User Contributed Notes 1 note

up
6
hayvanAdam
13 years ago
save progressive jpeg

<?php

$image
= new Imagick('image.jpg');
$image->thumbnailImage(500, 0);

$image->setInterlaceScheme(Imagick::INTERLACE_PLANE);

$image->writeImage('progressive.jpg');

?>
To Top