Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3769 | major | always | 11-17-09 10:56 | 11-19-09 03:22 | |
|
|||||
Reporter: | damien | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 4.0.2 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0003769: Unable to read image data for some JPEGs, unable to generate valid GIFs | ||||
Description: | I've been experiencing some problems with PHP and scaling uploaded images. Some JPEG images cannot be identified by getimagesize (the JPEGs seem to be valid, but getimagesize does not return any information about the file), and it does not seem possible to generate GIF images using imagegif (I'm not sure if the problem stems from loading the source image using imagecreatefromgif), as the output file is always 0 bytes. | ||||
Steps To Reproduce: | |||||
Additional Information: |
I'm using v4.0.1 on Mac OS X using Java 1.5. I've attached a simple web app that attempts to identify and scale three images (two JPEG, one GIF). I will try to test on Linux and Windows if I get the chance. In my environment, I see the following output: Details: images/budgerigar-100.jpg 1024x768 mime:image/jpeg size:158708 Details: images/budgerigar-100.small.jpg 200x150 mime:image/jpeg size:5674 Details: images/world-map.gif 800x519 mime:image/gif size:91878 Unable to get details for images/world-map.small.gif size:0 Unable to get details for images/drink.jpg size:37517 The example can be executed using 'mvn jetty:run' on the command line, and the results can be viewed at http://localhost:8080/. [^] |
||||
Relationships | |||||
Attached Files: |
image-test.tar [^] (327,680 bytes) 11-17-09 10:56 world-map.gif [^] (91,878 bytes) 11-19-09 02:39 drink.jpg [^] (37,517 bytes) 11-19-09 02:39 world-map-ff.gif [^] (91,878 bytes) 11-19-09 03:12 \\.host\Shared Folders\Downloads\world-map-ie.gif [^] (91,878 bytes) 11-19-09 03:17 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|