Query: imageinterlace
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IMAGEINTERLACE(3) 1 IMAGEINTERLACE(3) imageinterlace - Enable or disable interlaceSYNOPSISint imageinterlace (resource $image, [int $interlace])DESCRIPTIONimageinterlace(3) 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.PARAMETERSo $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $interlace - If non-zero, the image will be interlaced, else the interlace bit is turned off.RETURN VALUESReturns 1 if the interlace bit is set for the image, 0 otherwise.EXAMPLESExample #1 Turn on interlacing using imageinterlace(3) <?php // Create an image instance $im = imagecreatefromgif('php.gif'); // Enable interlancing imageinterlace($im, true); // Save the interlaced image imagegif($im, './php_interlaced.gif'); imagedestroy($im); ?> PHP Documentation Group IMAGEINTERLACE(3)
| Related Man Pages |
|---|
| imagegif(3) - php |
| imagecreatefromstring(3) - php |
| imagecolortransparent(3) - php |
| image2wbmp(3) - php |
| imagefilledrectangle(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Rules for Homework & Coursework Questions Forum |
| UNIX.COM 2017 Year End Summary |
| New Code Tags (Syntax Highlighting) |
| Please Welcome Nicki Paul to the Moderator Team! |