From:             flavio at ya dot com
Operating system: Windows XP Pro SP2
PHP version:      4.4.2
PHP Bug Type:     GD related
Bug description:  Image data cropped

Description:
------------
When create a PHP file that outputs a JPEG image (with correct headers),
sometimes the image gets cropped at some point and the rest of the image
is corrupted and/or gray. When reloading the script several times I
finally get the expected image. Saving the image to disk reveals the data
is cut at some point, not fixed. The image is not very big (50-120 KB,
JPG).

Problem occurs with both IE and Firefox. I have Apache 2.0. I've heard
something about gzipped transfer between server and browser, but I don't
really know the source of the bug.

Expected result:
----------------
The whole image at the output. The beginning of the image appears good but
at some point, data is cut.

Actual result:
--------------
Saving image to disk, shows the beginning of the JPEG image OK, but cut at
some point without any reason, and at variable offset.

-- 
Edit bug report at http://bugs.php.net/?id=37402&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37402&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=37402&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37402&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37402&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37402&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37402&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37402&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37402&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37402&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37402&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37402&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37402&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37402&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37402&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37402&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37402&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37402&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37402&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37402&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37402&r=mysqlcfg

Reply via email to