Forum und email

imageinterlace

(PHP 4, PHP 5)

imageinterlace — Enable or disable interlace

Descrierea

int imageinterlace ( resource $image [, int $interlace ] )

imageinterlace() turns the interlace bit on or off.

If the interlace bit is set and the image is used as a JPEG image, the image is created as a progressive JPEG.

Parametri

image

O resursă - imagine, întoarsă de una din funcţiile de creare a imaginilor, cum ar fi imagecreatetruecolor().

interlace

If non-zero, the image will be interlaced, else the interlace bit is turned off.

Valorile întroarse

Returns 1 if the interlace bit is set for the image, 0 otherwise.


pt>