PHP 8.4.1 Released!

Imagick::setInterlaceScheme

(PECL imagick 2, PECL imagick 3)

Imagick::setInterlaceSchemeSets the image compression

Beschreibung

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

Sets the image compression.

Parameter-Liste

interlace_scheme

Rückgabewerte

Liefert true bei Erfolg.

add a note

User Contributed Notes 1 note

up
5
hayvanAdam
16 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