note 26575 added to function.imagejpeg

From: Date: Tue, 05 Nov 2002 16:26:23 +0000
Subject: note 26575 added to function.imagejpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-38999@lists.php.net to get a copy of this message
regarding to paul: he is complaining about poor quality. Another told about the increase in size using jpg. I did some research and I found out the simple answer for this is: gd is using internaly only 256 color (8bit) images. Every source image (even jpg with truecolor) is transformed into 8bit images using error diffusion. Clearly this has a very bad impact on quality of truecolor images and on image size too, since jpg uses lossy compression and the big increase of high frequency components after error diffusion... The only way to come around with this is using gd2 if possible. -- http://www.php.net/manual/en/function.imagejpeg.php http://master.php.net/manage/user-notes.php?action=edit+26575 http://master.php.net/manage/user-notes.php?action=delete+26575 http://master.php.net/manage/user-notes.php?action=reject+26575

« previous php.notes (#38999) next »