PHP 8.1.0 RC 2 available for testing

Gmagick::setimageinterlacescheme

(PECL gmagick >= Unknown)

Gmagick::setimageinterlaceschemeSets the interlace scheme of the image

Descrição

public Gmagick::setimageinterlacescheme(int $interlace): Gmagick

Sets the interlace scheme of the image.

Parâmetros

interlace

One of the Interlace constant (Gmagick::INTERLACE_*).

Valor Retornado

The Gmagick object.

Erros

Lança uma exceção GmagickException em erros.

add a note add a note

User Contributed Notes 1 note

up
4
Isius
8 years ago
Just in case you're having trouble finding the constants for this like I was. They are as-of-yet unlisted on the predefined constants page.

INTERLACE_UNDEFINED, UndefinedInterlace
INTERLACE_NO, NoInterlace
INTERLACE_LINE, LineInterlace
INTERLACE_PLANE, PlaneInterlace
INTERLACE_PARTITION, PartitionInterlace
To Top