some .CR2 (RAW) pictures are displayed mirrored

Bug #554036 reported by Jan
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evince
Invalid
Medium
Eye of GNOME
Fix Released
Medium
gnome-raw-thumbnailer
Unknown
Unknown
eog (Ubuntu)
Fix Released
Low
Unassigned
shotwell (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: eog

EoG, Evince and gnome-raw-thumbnailer display a mirrored image for some CR2 RAW files. In F-Spot it is displayed correctly (see the attachment).

I am running the latest Lucid Beta.

Due to the different filetype and because it only happens for some images, I was not sure if this could be considered a duplicate of https://bugs.edge.launchpad.net/ubuntu/+source/evince/+bug/256330

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eog 2.30.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-18.27-generic-pae 2.6.32.10+drm33.1
Uname: Linux 2.6.32-18-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Apr 2 17:15:51 2010
ExecutablePath: /usr/bin/eog
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: eog

Revision history for this message
Jan (jancborchardt-deactivatedaccount) wrote :
Revision history for this message
Jan (jancborchardt-deactivatedaccount) wrote :
Changed in eog (Ubuntu):
importance: Undecided → Low
Angel Abad (angelabad)
Changed in eog:
importance: Undecided → Unknown
status: New → Unknown
Changed in eog (Ubuntu):
status: New → Confirmed
Changed in evince:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Angel Abad (angelabad) wrote :

In Gnome Bugzila Felix Riemann said:

AFAIK Ubuntu doesn't install libopenraw's gdk-pixbuf plugin so what you see is
likely the included preview image which is loaded by the standard TIFF loader.

Still, the file seems to be corrupted. Both dcraw and libopenraw fail to open
it.
I also tried F-Spot on the latest Ubuntu snapshot and it failed as well.

Revision history for this message
Jan (jancborchardt-deactivatedaccount) wrote :

I don't quite understand the first paragraph. Sounds like the reason is that the file is corrupted? This happens only for some pictures, I can not recognize a pattern.

I can now confirm them failing to open in F-Spot though. File corruption seems quite possible here. :(

I'll try unflipping, opening them on other computers and repairing them somehow. A shame that I don't look at my RAWs too often.

Thanks.

Angel Abad (angelabad)
Changed in gnome-raw-thumbnailer:
importance: Undecided → Unknown
status: New → Unknown
Changed in evince:
status: Unknown → New
Changed in eog:
status: Unknown → New
Changed in eog (Ubuntu):
status: Confirmed → Triaged
Mooky (simon-bernard-31)
Changed in eog (Ubuntu):
status: Triaged → In Progress
status: In Progress → Confirmed
Revision history for this message
Mooky (simon-bernard-31) wrote :

I have this bug on eog with my lucid lynx and CR2 files.
The images in "landscape" mode are well displayed.
But all the "protrait' image are mirrored and not autorotate (thanks to the exif tag).
The problem don't appear with F-spot.
The thumbnails in nautilus and in the eog collection is well displayed too.

There are another strange behavior with eog(or nautilus) and CR2 file.
When I open a jpeg file in nautilus, by default this will open eog with all the jpg files of the same directorie in the collection (of eog [F9]).
If I open a CR2 file only this file is in the collection, so I cannot navigate through all the images.
If I want to have the same behavoir than with the jpg files, I need to select all the CR2 file then clic open.

Revision history for this message
Maiko Mõtsar (daddo) wrote :

I have the same problem with TIF files, wich are converted from Canon 5D RAW files.

I can confirm, that the problem is somehow related to the EXIF, because only these files are mirrored, wich was taken as portrait. I also not sure, what Angel Abad said about the preview picture, because i don't know, has the TIF file the FULL resolution preview picture in it or not.

I can say that this issue is affecting at least eof and also the nautilus thumbnails too.

I made a test directory where i put 3 such an files, wich were mirrored. At first, nautilus was not able to generate the thumbnails for them, it just displaied the "TIF" icon. When i was opening these files, they all was still in landscape (90 degree) (as i told, these pictures were all takes as portrait) and all where mirrored over their real (in meaning of taking the picture) real vertical axis.

So the next step i did, was: holding the Ctrl key, dragged an copy of one file. At this moment, nautilus magically succeed to generating the thumbnails for all the 4 files. The thumbnails were there, but they all were in wrong orientation.

After that, i opened the copy file i made and i rotated it into correct orientation and saved it. It's thumbnail was updated into correct orientation (but still mirrored). But this is not all, things getting weird:

without editing the others files, nautilus thumbnails started behave different than eog. At the moment when i was opening the other file, it's thumbnail changed to correct one: correct orientation and no mirror. One by one, at the double click. But like i said, the eog behaved differently, and there were all files still in incorrect orientation and mirrored.

So, editing file x, made files y,z thumbnailing behave correct...

Revision history for this message
Maiko Mõtsar (daddo) wrote :
Revision history for this message
Maiko Mõtsar (daddo) wrote :
Revision history for this message
Maiko Mõtsar (daddo) wrote :
Changed in eog:
importance: Unknown → Medium
Changed in evince:
importance: Unknown → Medium
Revision history for this message
sam tygier (samtygier) wrote :

i am seeing the same thing in shotwell http://trac.yorba.org/ticket/3508 (several example files there) do they all use the same raw loader?

Revision history for this message
fgr (f-gritsch) wrote :

wow, this is bug over a year old and still not fixed :(
I have a new canon 1000d and make raw fotos .CR2 files and they are flipped mirrored in this programms:
* shotwell 0.9.2
* Eye of GNOME 2.32.1

In the following apps the pictures are NOT mirrored, that means in the original orientation:
* F-Spot 0.8.2
* digiKam - Version 1.9.0

what kind of bug is it? Do you need a example file?

Changed in eog:
status: New → Incomplete
Revision history for this message
fgr (f-gritsch) wrote :

why incomplete??

what info do you need? there are images and good descriptions of the problem, what else do you need, a canon 1000d ;)

Changed in eog:
status: Incomplete → Confirmed
Changed in eog:
status: Confirmed → Fix Released
Revision history for this message
madbiologist (me-again) wrote :

The .CR2 and TIFF mirroring/flipping problem has been fixed in Eye of Gnome 3.1.2.

Changed in eog (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
madbiologist (me-again) wrote :

Eye of Gnome 3.1.2-0ubuntu1 is now available in Ubuntu 11.10 "Oneiric Ocelot".

Changed in eog (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
sam tygier (samtygier) wrote :

seems to be fixed in shotwell 0.11.2 in oneiric. (tested with 40D files). EOG in oneiric will not render the files at all though.

Changed in shotwell (Ubuntu):
status: New → Fix Released
mihon (guerrer0)
Changed in eog (Ubuntu):
assignee: nobody → mihon (guerrer0)
Changed in eog (Ubuntu):
assignee: mihon (guerrer0) → nobody
Changed in evince:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.