On Monday 19 July 2010 19:23:28 Patrick Shanahan wrote:
* Patrick Shanahan
[07-19-10 13:01]: But I am full of Hot Air about gwenview displaying images according to exif recorded orientation. My version, 2.5.0, gwenview-4.4.93svn1149349-166.1.x86_64, does not display the images correctly orientated. I was looking at "processed" images :^( I agree with lynn that this should be default, displaying according to the recorded exif orientation. GQview does this but it is a selectable preference.
Jeeze, this is getting convoluted!
My version of gwenview DOES correctly display jpg images according to exif orientation data. It apparently must need to cache the images or thumbnails first as a second view of the directory containing unedited jpg images correctly displays orientation. The first did not, but the directory contained ~200 images and I did not wait for it to completely generate its thumbnails.
If we need to start this over to unwind the spaghetti, let me know :^).
Ok, I've just tested. It's a bit unscientific, I am testing on my laptop which is KDE SC 4.5RC2 instead of a clean 11.3 or 11.2 machine, since I realised that Gwenview can only import from the filesystem - the D90 does not have a USB mass storage mode, just PTP, and I don't have a card reader on the desktop, where I usually use Digikam to import pictures. I took 2 pictures looking horizontally out of the window, one portrait, one landscape, which are at http://ktown.kde.org/~wstephenson/exif/ (copied from card on command line. I installed the 'exif' package which allows you to check the exif tags without any malign kinfluence ;). 1) Gwenview import exif says that DSC_246*.JPG both PixelXDimension=4288,PixelYDimension=2848 DSC2465.jpg Orientation=top - left DSC2466.jpg Orientation=left - bottom Images appear correctly rotated. 2) Digikam import, Auto-rotate flip image in the import dialog's settings *enabled*: Digikam shows 'EXIF rotating <filename>' for each image during the import from the card reader to the hard disk. exif says that DSC_246*.JPG both PixelXDimension=4288,PixelYDimension=2848 DSC2465.jpg Orientation=top - left DSC2466.jpg Orientation=left - bottom Images appear correctly rotated probably due to Digikam settings->Metadata-
Behavior-Show images/thumbnails rotated according to orientation tag
3) With Digikam, manually invoking Image->Auto rotate/flip on the above imported images exif says that DSC_2465.JPG PixelXDimension=4288,PixelYDimension=2848, Orientation=top - left DSC2466.JPG PixelXDimension=2848,PixelYDimension=4288 Orientation=top - left Portrait image appears in landscape orientation. Therefore there are 3 separate features here A) On import, rotate, updating exif tags. B) Rotate manually with plugin and save, updating exif tags. C) Display on import rotated according to exif tags, file unchanged. Gwenview does not have A, Digikam does but it appears to be broken, perhaps as Erwin describes. Both have B and C. I guess that I've been seeing B with my Digikam use and the photo services (flickr, Facebook) that I use either display/rotate according to the tags or the exporter plugins do the rotate while resizing for upload. A is what Lynn wants for new photos, but for the existing photos I'd recommend either the jhead command line that Marcus suggested or for a UI tool, the Rotate (according to exif) tool in Digikam's batch manager. Will -- Will Stephenson, openSUSE Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org