Bug 164604 - Picture preview does not honor exif rotation tags
Summary: Picture preview does not honor exif rotation tags
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 18:54 UTC by Frederik Himpe
Modified: 2010-11-29 04:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Himpe 2008-06-21 18:54:54 UTC
Version:           1.0.99 (using Devel)
Installed from:    Compiled sources

I have an image which has EXIF tags indicating that the picture should be rotated. When opening this picture in GWenview it is correctly shown in portrait mode in gwenview. However, Dolphin's icon preview and the sidebar preview, show the image wrongly in plain landscape mode.
Comment 1 Arnout Boelens 2008-07-01 15:12:11 UTC
I noticed file preview in konqueror and the plasma photo frame widget have the same problem. Do they share the code to show these images?
Comment 2 Peter Penz 2008-07-01 15:24:01 UTC
Konqueror uses the Dolphin KPart -> Dolphin and Konqueror share exactly the same code. Regarding the photo frame plasmoid I don't know, but my guess is that it uses the class PreviewJob like Dolphin does, so I guess the fix must be done in PreviewJob. But I did not have the time yet to analyse this issue in more detail, but I'll check this for KDE 4.2 (or 4.1.x).
Comment 3 Olivier Lacroix 2008-08-05 00:53:13 UTC
Hi !

I just installed digikam .10-beta1 on Ubuntu intrepid, and the previews suffer from the same issue. Are the programs sharing the same preview code ?
Comment 4 Peter Penz 2008-08-05 08:08:50 UTC
@Olivier: Yes, they all use the class PreviewJob from kdelibs. I'm not 100 % sure for digikam as I did not look at the code, but it's the default way of creating previews in KDE. But the good news are: If it is fixed once in kdelibs, it should be fixed in a lot of applications :-)

I've reassigned this issue to kdelibs, as I've already so many Dolphin related issues that I fear that I won't have time fixing it by myself.
Comment 5 Christoph Feck 2010-11-29 04:45:26 UTC
Fixed in r1050720. See also bug 238618.

WebSVN link: http://websvn.kde.org/?revision=1050720&view=revision