Bug #16109 Updated: zlib.output_compression and generated pictures

From: Date: Wed, 03 Apr 2002 20:03:32 +0000
Subject: Bug #16109 Updated: zlib.output_compression and generated pictures
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3953@lists.php.net to get a copy of this message
ID: 16109 Updated by: pguillot@paanjaru.com Reported By: pguillot@paanjaru.com Status: Open Bug Type: Zlib Related Operating System: linux PHP Version: 4.1.2 New Comment: Thanks a lot Sniper ! After a little digging, the only bug report 'related' to the problem discussed here seems bug #10905 which was closed because of no feed back. The strange point about what is happening is that pictures .png or .jpeg are already compressed, due to the format itself ... Also, if I use apache's mod_gzip to compress again the pictures, it works, and other non script generated pictures are ok too. Sounds weird. ;-) Patrick Previous Comments: ------------------------------------------------------------------------ [2002-04-03 08:47:40] sniper@php.net If you can't find the number for the other bug report, leave the report open.. ------------------------------------------------------------------------ [2002-04-03 06:32:06] sander@php.net I'm 100% sure there is a bugreport for this. I don't know the number, I can't find it anymore... ------------------------------------------------------------------------ [2002-03-16 07:08:29] pguillot@paanjaru.com Which bug number is it ? I tried to find a bug report, but didn't found any. ------------------------------------------------------------------------ [2002-03-16 06:54:00] sander@php.net This has already been reported. ------------------------------------------------------------------------ [2002-03-15 16:53:11] pguillot@paanjaru.com Hello, It seems a problem occurs when using zlib.output_compression=Yes and generating pictures from a script; The content of the picture seems to be compressed, and not recognize by a browser ( Netscape ). It occurs with jpeg and png files. Strange because, if using mod_gzip with Apache the picture is compressed __but__ still recognized by the browser. What is nice with zlib.output_compression is that nothing needs to be modified in the scripts themselves, but i was not able to find a way to stop compressing in a particular script. Anyhow, thanks again to all, for the nice job done here. Patrick ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16109&edit=1

« previous php.bugs (#3953) next »