php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37402 Image data cropped
Submitted: 2006-05-10 20:22 UTC Modified: 2006-05-18 01:00 UTC
From: flavio at ya dot com Assigned:
Status: No Feedback Package: GD related
PHP Version: 4.4.2 OS: Windows XP Pro SP2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: flavio at ya dot com
New email:
PHP Version: OS:

 

 [2006-05-10 20:22 UTC] flavio at ya dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-10 20:25 UTC] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2006-05-18 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 16:01:30 2025 UTC