Enable or disable interlace

imageinterlace

(PHP 4, PHP 5)

imageinterlaceEnable or disable interlace

Opis

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.

Parametry

obraz

ZasĂłb obrazu, zwrĂłcony przez jednÄ… z funkcji tworzÄ…cych obrazy, takÄ… jak imagecreatetruecolor().

interlace

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

Zwracane wartości

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

Przykłady

Example #1 Turn on interlancing using imageinterlace()

<?php
// Create an image instance
$im imagecreatefrom('php.gif');

// Enable interlancing
imageinterlace($imtrue);

// Save the interfaced image
imagegif($im'./php_interlaced.gif');
imagedestroy($im);
?>


zapalniczki zippo | projektowanie stron | wyjazdy integracyjne | Super ekstra gites | nieruchomosci szczecin | Przeprowadzki DÄ…browa GĂłrnicza | teksty piosenek | paznokcie sklep | wykonywanie ogrodĂłw
Design by flankerds.com