After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 166248 - GIMP fails to open JPEGs resized and saved with Picasa 2
GIMP fails to open JPEGs resized and saved with Picasa 2
Status: RESOLVED DUPLICATE of bug 164053
Product: GIMP
Classification: Other
Component: General
2.2.x
Other Windows
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-02-04 08:05 UTC by Marco Casalaina
Modified: 2008-01-15 12:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A JPEG image that GIMP fails to open. (59.14 KB, image/jpeg)
2005-02-04 08:08 UTC, Marco Casalaina
Details
Screenshot of GIMP crash when attempting to open Picasa JPEG. (16.71 KB, image/jpeg)
2005-02-04 08:10 UTC, Marco Casalaina
Details

Description Marco Casalaina 2005-02-04 08:05:52 UTC
1.  Open any JPEG image in Picasa 2 (Windows only, freely obtainable at
www.picasa.com).  To open the image, use Picasa's File->Import From... menu item
and navigate the ensuing page to the spot on your disk where the image is
stored.  Import the image into a new Picasa library.
2.  Save the image to a new location on your disk by selecting the image in your
Picasa library and going to File->Export Picture To Folder...  In the ensuing
window, be sure to choose the Resize option, resizing it to smaller than the
original.
3.  Open the newly exported image in GIMP.  You'll receive a message saying that
jpeg.exe has crashed, and then another saying GIMP may have been destabilized,
and to restart it.

I would note that these images open fine in other applications such as Firefox
and Irfanview.

After I commit this bug, I will attempt to attach one crashing JPEG image, and a
screenshot of the error, for what it's worth.
Comment 1 Marco Casalaina 2005-02-04 08:08:07 UTC
Created attachment 36966 [details]
A JPEG image that GIMP fails to open.

Open this image in the GIMP/Win 2.0 or above, it will fail to open and crash
jpeg.exe.
Comment 2 Marco Casalaina 2005-02-04 08:10:27 UTC
Created attachment 36967 [details]
Screenshot of GIMP crash when attempting to open Picasa JPEG.

For what it's worth, a screenshot of the little Windows dump when a
Picasa-saved JPEG fails to open.
Comment 3 Michael Schumacher 2005-02-04 08:59:04 UTC
Could be a duplicate of bug 164053.
Comment 4 Raphaël Quinet 2005-02-04 09:57:59 UTC
There are some strange things in the EXIF block of this file.  For example, the
EXIF version is set to 12.20 instead of 2.10 or 1.20.  The orientation is also
unusual.  If this strange EXIF information is produced by Picasa 2, then this
looks like a bug in Picasa and it should be reported to its developers.

However, the GIMP should not crash when attempting to open such an image.
Although this is most probably a duplicate of bug #164053, I would like to keep
this bug open until we can check that this image can be read without problems
after upgrading libexif in the Windows version.

Note that the image can be read on Linux (using the newer libexif), but its
unusual orientation tag triggers another bug: the user is asked if the image
should be rotated, but the result is the same regardless of whether the user
presses "OK" or "Cancel".  That dialog should not appear.
Comment 5 weskaggs 2005-02-04 17:46:47 UTC
The exif block in this file definitely contains some bogus values, including the
orientation.  Anyway, I have made a small change in cvs HEAD that prevents the
dialog from appearing in this situation.

2005-02-04  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/jpeg/jpeg-exif.c: check validity of orientation
	value before using, see bug #166248.
Comment 6 Sven Neumann 2005-02-07 15:30:01 UTC
This bug report should probably set to NEEDINFO until the bug reporter has
checked if updating libexif fixes the problem.
Comment 7 Raphaël Quinet 2005-02-07 15:40:18 UTC
Marco, please add a comment here when the next version of the GIMP for Windows
is released, if you have the opportunity to try in on Picasa images.
Comment 8 Michael Schumacher 2005-02-07 15:45:24 UTC
Link to the corresponding entry in the Picasa bugtracking forum:
http://forums.picasa.com/viewtopic.php?t=5092
Comment 9 Michael Schumacher 2005-02-07 21:40:22 UTC
The image opens fine with libexif 0.6.x. in my gimp-2-2 build.
Comment 10 Sven Neumann 2005-02-07 22:10:32 UTC

*** This bug has been marked as a duplicate of 164053 ***