Bug 320293 - Bad import with exif orientation
Summary: Bad import with exif orientation
Status: RESOLVED NOT A BUG
Alias: None
Product: gwenview
Classification: Applications
Component: importer (show other bugs)
Version: 4.10.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-26 09:06 UTC by Stephane MANKOWSKI
Modified: 2013-05-31 01:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Picture with exif orientation (1.45 MB, image/jpeg)
2013-05-26 09:07 UTC, Stephane MANKOWSKI
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane MANKOWSKI 2013-05-26 09:06:41 UTC
During the import, the exif orientation is not taking into account.
This is disturbing for the following tasks.

Reproducible: Always

Steps to Reproduce:
1. Copy the attached picture on a usb key
2. Import the picture from the usb key to your computer by using gwenview
3. Visualize the picture in gwenview
Actual Results:  
Due to the exif orientation, the visualization is good in gwenview and all other tool managing this exif orientation (example: dolphin, digikam, krita).
But, on the hard disk, the orientation still wrong.
So, the file is not well oriented if:
1-I push it on my web site
2-I send it by email
3-I replicate it to my drop box

Expected Results:  
Because I don't really understand why it could be interesting to have the wrong orientation on the hard disk, the import should:
1-Use the exif orientation to apply the rotation of the picture
2-Remove the exif orientation to avoid to use it twice (one during the import, the second one for visualization)

As work around, I use the rotate function but it's disturbing because:
1-In gwenview the orientation is good on the screen but bad on the file
2-I click on the rotate icon ==> the orientation is bad on the screen and bad on the file
3-I click on save icon ==> the orientation is good on the screen and good the file 
4-But now, how to know the pictures treated and the picture not treated?
Comment 1 Stephane MANKOWSKI 2013-05-26 09:07:42 UTC
Created attachment 80088 [details]
Picture with exif orientation
Comment 2 Stephane MANKOWSKI 2013-05-26 09:38:08 UTC
I opened the same bug on digikam:
https://bugs.kde.org/show_bug.cgi?id=320295
Comment 3 Benni Hill 2013-05-26 17:50:25 UTC
Well, I'm quite happy that gwenview_importer doesn't modify my images without my approval. But I would be fine with a config option.

BTW: There's already "Plugins -> Auto Rotate/Flip using Exif Information".

BTW2: Starting with gwenview 4.11.0 (and already in git master) there will be a hidden config option that will cause gwenview to ignore the exif rotation and to display your images without rotating them (There are some caveats though. Have a look at bug 178616, please.)
You can set this option with:

kwriteconfig --file gwenviewrc --group ImageView --key ApplyExifOrientation false

(Remember that this will not work in 4.10.x)
Comment 4 Stephane MANKOWSKI 2013-05-26 18:13:55 UTC
Hi,

I was not aware of the function "Plugins -> Auto Rotate/Flip using Exif Information".
That's fine for me.
With this, you can close this incident.
Thank you and apologize for disturbance.