Bug #10905 Updated: ImageGif (ImagePNG) output uncompressed
| From: | yohgaki@php.net | Date: | Wed, 12 Dec 2001 10:02:21 +0000 |
| Subject: | Bug #10905 Updated: ImageGif (ImagePNG) output uncompressed | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73247@lists.php.net to get a copy of this message | ||
ID: 10905
Updated by: yohgaki
Reported By: pumuckel@metropolis.de
Old Status: Open
Status: Feedback
Bug Type: Output Control
Operating System: Linux
PHP Version: 4.0.5
New Comment:
Ok Derick. It would be useful for other purposes also.
Status = Feedback.
To reporter, Could you try it on snapshot
http://snaps.php.net/
Please provide *short* script. Thank you.
Previous Comments:
------------------------------------------------------------------------
[2001-12-12 04:39:21] derick@php.net
Let's not make this bogus. However, please post a short reproducing example script.
Derick
------------------------------------------------------------------------
[2001-12-12 04:27:44] yohgaki@php.net
If you want to compress images, use zlib extension.
------------------------------------------------------------------------
[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