ID:               10905
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Output Control
 Operating System: Linux
 PHP Version:      4.0.5
 New Comment:

it looks like its an netscape 4.x bug. i tested with
zlib.output_compression (php 4.1.2) off and all gd generated images
worked fine. but when the compression is On, images appeared broken...
There's no problem with netscape 6x and msie 5.5/6.0. Is it possible to
turn off zlib.output_compression within php script, so that we could
manually decide which browsers get gzipped data?


Previous Comments:
------------------------------------------------------------------------

[2002-01-02 13:55:44] [EMAIL PROTECTED]

No feedback. Closing.

------------------------------------------------------------------------

[2001-12-12 05:02:21] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[2001-12-12 04:39:21] [EMAIL PROTECTED]

Let's not make this bogus. However, please post a short reproducing
example script.

Derick

------------------------------------------------------------------------

[2001-12-12 04:27:44] [EMAIL PROTECTED]

If you want to compress images,  use zlib extension.

------------------------------------------------------------------------

[2001-05-16 12:17:43] [EMAIL PROTECTED]

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

Reply via email to