(PHP 4, PHP 5)
imageinterlace — Enable or disable 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.
imagecreatetruecolor() 등의 이미지 생성 함수에서 반환한 이미지 자원.
If non-zero, the image will be interlaced, else the interlace bit is turned off.
Returns 1 if the interlace bit is set for the image, 0 otherwise.
Example #1 Turn on interlacing using imageinterlace()
<?php
// Create an image instance
$im = imagecreatefrom('php.gif');
// Enable interlancing
imageinterlace($im, true);
// Save the interfaced image
imagegif($im, './php_interlaced.gif');
imagedestroy($im);
?>