Bug #10905 Updated: ImageGif (ImagePNG) output uncompressed
| From: | yohgaki@php.net | Date: | Wed, 12 Dec 2001 09:27:44 +0000 |
| Subject: | Bug #10905 Updated: ImageGif (ImagePNG) output uncompressed | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73237@lists.php.net to get a copy of this message | ||
ID: 10905
Updated by: yohgaki
Reported By: pumuckel@metropolis.de
Old Status: Open
Status: Bogus
Bug Type: Output Control
Operating System: Linux
PHP Version: 4.0.5
New Comment:
If you want to compress images, use zlib extension.
Previous Comments:
------------------------------------------------------------------------
[2001-05-16 12:17:43] pumuckel@metropolis.de
Using the compression ob_gzhandler all HTML Pages get compressed well. But dynamic generated Images
don't get compressed.
Header of the output says, it is compressed, but the data following the header isn't. So those
images can't be displayed (by at least netscape)
Thanks for the patch, ;-)
mike
PS: Don't tell me that it isn't useful to gzip images, but if you have switched
compression to 'enabled' in your php.ini file and you are creating images on the fly,
you'll need it to handle this case correctly.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10905&edit=1