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 digikam. The "rotation" option in the import panel can be selected on not. 3. Visualize the picture in digikam Actual Results: Due to the exif orientation, the visualization is good in digikam and all other tool managing this exif orientation (example: dolphin, gwenview, 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) The "rotate" option seems to be done for that but does not work. As work around, I use the rotate function but it's disturbing because: 1-In digikam 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 the rotate icon in the opposite direction==> the orientation is bad on the screen and bad on the file 3-I click on the rotate icon in the opposite direction==> the orientation is good on the screen and good on the file 4-But now, how to know the pictures treated and the picture not treated?
Created attachment 80089 [details] Picture with exif orientation
I opened the same bug on gwenview: https://bugs.kde.org/show_bug.cgi?id=320293
If Gwenview is touched, sound like a Exiv2 shared library problem... - Which Exiv2 version you use ? Look in Help/Components Info dialog. Can you try with Exiv2 command line tool if Exif orientation flag is displayed properly ? Gilles Caulier
(In reply to comment #3) > If Gwenview is touched, sound like a Exiv2 shared library problem... > > - Which Exiv2 version you use ? Look in Help/Components Info dialog. > > Can you try with Exiv2 command line tool if Exif orientation flag is > displayed properly ? > > Gilles Caulier My version of Exiv2 is: exiv2 0.23 001700 (64 bit build) Here is the result of exiv2: File name : img_2013-05-26-10-07-57.jpg File size : 1519816 Bytes MIME type : image/jpeg Image size : 4000 x 3000 Camera make : CASIO COMPUTER CO.,LTD. Camera model : EX-ZR100 Image timestamp : 2013:05:26 10:07:57 Image number : Exposure time : 1/60 s Aperture : F3 Exposure bias : 0 EV Flash : No, auto Flash bias : Focal length : 4.2 mm (35 mm equivalent: 24.0 mm) Subject distance: ISO speed : 500 Exposure mode : Auto Metering mode : Multi-segment Macro mode : Image quality : Exif Resolution : 4000 x 3000 White balance : Auto Thumbnail : image/jpeg, 7462 Bytes Copyright : Exif comment : But, in digikam, the picture is well oriented. That's fine. But, because the file is not really modified, the usage is complex and disturbing (example: when you want to send a picture by email, the picture is not well oriented in the mail).
@Stephane: In digikam "Auto Rotate/Flip using Exif Information" is under "Image".
(In reply to comment #5) > @Stephane: In digikam "Auto Rotate/Flip using Exif Information" is under > "Image". Hi, When I apply this function from digikam, nothing is done, my file is not modified. When I apply the same function from gwenview, the file is rotated and modified.
I think this is a bug. At least with my pictures. (You can test it with that attached file). Moreover, the "rotation" option in import panel does nothing.
Stephane, This file still valid using last digiKam 4.2.0 ? Gilles Caulier
(In reply to Gilles Caulier from comment #8) > Stephane, > > This file still valid using last digiKam 4.2.0 ? > > Gilles Caulier I don't know if this bug is still valid on 4.2.0 because the version I have is 4.0.0
And it's reproducible with 4.0.0 ? Gilles Caulier
"Auto Rotate/Flip using Exif Information" works well on 4.0.0