From ebe8aec3525112a7a82e378a4cd414d1a46bbcde Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Wed, 17 Oct 2001 06:32:18 +0000 Subject: [PATCH] - Added note about ImageInterlace and progressive JPEGs git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@60073 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/image.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/functions/image.xml b/functions/image.xml index db9191fa59..dbf2a44249 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -1,5 +1,5 @@ - + Image functions Image @@ -1730,11 +1730,16 @@ ImagePng($im); 0 (worst quality, smaller file) to 100 (best quality, biggest file). Default is to 100. + + If you want to output Progressive JPEGs, you need to set interlacing + on with the ImageInterlace. + See also ImagePNG, ImageGIF, - ImageWBMP and + ImageWBMP, + ImageInterlace and ImageTypes. @@ -1804,7 +1809,11 @@ ImagePng($im); is 0 the interlace bit is turned off. - This functions returns whether the interlace bit is set for the + If the interlace bit is set and the image is used as a JPEG image, + the image is created as a progressive JPEG. + + + This function returns whether the interlace bit is set for the image.