PHP Australia Conference 2015

Imagick::setInterlaceScheme

(PECL imagick 2.0.0)

Imagick::setInterlaceSchemeSets the image compression

Descrição

bool Imagick::setInterlaceScheme ( int $interlace_scheme )

Sets the image compression.

Parâmetros

interlace_scheme

Valor Retornado

Returns TRUE on success.

add a note add a note

User Contributed Notes 1 note

up
0
hayvanAdam
6 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