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 434442 - Thumbnails of RAW photos show wrong orientation
Thumbnails of RAW photos show wrong orientation
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.10.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2007-04-29 21:04 UTC by Anton Keks
Modified: 2009-05-27 19:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Anton Keks 2007-04-29 21:04:32 UTC
Please describe the problem:
Both libopenraw and 'dcraw -e' generated RAW thumbnails have wrong orientation in case of vertical photos, however the photos themselves show with the correct orientation when viewed.

Probably gthumb needs to respect the EXIF orientation flag in the thumbnails or RAW files themselves.

Steps to reproduce:
Always

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Michael Chudobiak 2007-04-29 22:40:27 UTC
Hmm. Fixing this would probably make thumbnail generation horribly slow, again. I'm not sure there is a good solution to this, although it is worth opening bug reports with dcraw and libopenraw.

We might consider always saving a new thumbnail after viewing an image. This would help fix the problems described in bug 428725 as well.

- Mike
Comment 2 Udi Fuchs 2007-04-30 11:09:27 UTC
UFRaw generates thumbnails with the correct orientation. The relevant command is:

ufraw-batch --embedded-image --out-type=png --size=%s %i --overwrite --silent --output=%o

I don't know if gthumb supports gnome's schema files, but UFRaw comes with a ufraw.schema file for generating thumbnails for gnome applications (like nautilus).

Udi
Comment 3 Michael Chudobiak 2007-05-01 19:25:39 UTC
This is apparently a planned feature for libopenraw.

- Mike
Comment 4 Anton Keks 2007-05-01 20:13:26 UTC
OK, then probably if libopenraw implements it, the problem with dcraw thumbnail orientation can be ignored - it's a minor problem anyway. But I like the idea of updating thumbnails after the image has been viewed :-)

Anyway, we need to make sure that major distributions will package libopenraw. AFAIK, they still don't.
Comment 6 Michael Chudobiak 2008-01-13 19:32:17 UTC
The libopenraw thumbnails should be correct as of version 0.0.4 (http://libopenraw.freedesktop.org/download/libopenraw-0.0.4.tar.gz).

Can you test this, Anton?

- Mike
Comment 7 Anton Keks 2008-02-13 19:29:30 UTC
Thumbnails are still incorect with libopenraw 0.0.4 and gthumb 2.10.7. 
Should I try the newer version of gthumb?
Comment 8 Michael Chudobiak 2009-05-27 19:05:12 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.