GNOME Bugzilla – Bug 491063
PixbufLoader can not load some jpeg files.
Last modified: 2010-07-10 04:07:31 UTC
Please describe the problem: Use PixbufLoader to load a jpeg file failed. Those jpeg files were created by Sony Carmery camera. PixbufLoader.close function gave me a GError ('Error interpreting JPEG image file (Application transferred too few scanlines)'). Steps to reproduce: 1. run ./pixbuf_loader file.jpeg 2. 3. Actual results: GError ('Error interpreting JPEG image file (Application transferred too few scanlines)') Expected results: loading jpeg files successfully Does this happen every time? yes Other information:
Created attachment 98026 [details] the test program for reproducing this problem
Created attachment 98027 [details] the jpeg file for reproducing this problem `./pixbuf_loader.py test.jpg` to reproduce this problem
I've found the same bug (using the perl bindings), with pictures having EXIF data, they are loaded correctly when passing small chunks (I used 50K) to the loader's write function. But when all the data is passed by one call to the loader's write function, the picture isn't loaded correctly. I've got the same error message when using the attached test.jpg. I've got "Error interpreting JPEG image file (Improper call to JPEG library in state 205)" when trying to load some of my pictures that have both EXIF and XMP blocks (as detected by gimp)
(In reply to comment #3) > I've found the same bug (using the perl bindings), with pictures having EXIF > data, they are loaded correctly when passing small chunks (I used 50K) to the > loader's write function. Yeah. It can be loaded correctly when passing small blocks to the loader with python bindings too!
Looks like a duplicate of bug #494667
Patch at bug 494667.
I tested the trunk. This problem does not happen in trunk.