Version: 1.1.0 (using Devel) Compiler: mingw4 OS: MS Windows Installed from: Compiled sources When I take a picture on my Nikon S6 in portrait orientation then the thumbnail shown in digikam is rotated with respect to the actual image. See http://www.elfringham.co.uk/DSCN1470_orig.JPG and http://www.elfringham.co.uk/DSCN1470.JPG The _orig file has the image in landscape, yet the thumbnail shows up as portrait. The other file has the image in portrait yet the thumbnail shows up as landscape.
I would really argue we should not depend on the kipi plugin for rotation but instead use the lossless exif tag rotation whenever possible. This would prevent a lot of these errors.
I guess that the candlestick on the photo was upright in reality. In _orig, the actual image (pixels on disk) are written in landscape mode. The Nikon has a sensor and wrote the correct Exif orientation tag. Digikam will rotate the image accordingly and show it correctly. Now apparently, the second image was rotated with some tool so that the pixels on disk changed were rearranged to portrait mode. At the same time, the Exif tag was not reset, which means the image as shown by digikam is probably rotated twice. Now, with which tool did you rotate the image? Or what is the supposed bug here?
The bug is that in Album view, the thumbnail is shown rotated according to the EXIF orientation flag, however if I double click the thumbnail to open the Full Size Preview then the image is shown not rotated. So just looking at the _orig file, in the Album view I see the candlestick upright so the thumbnail has been rotated correctly. However in Full Size Preview, the image has not been rotated and I see the candlestick with the top on the left.
I can reproduce this: In icon view, click to view preview. Close again, the click to open editor. Now in editor, the image is exif-rotated one additional time.
SVN commit 1098429 by mwiesweg: Do not exif-rotate a second time in editor - previews are rotated in the cache, and in the case of full-size preview of a JPEG, this data will be reused for the image editor. CCBUG: 228869 M +6 -1 dimginterface.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1098429
This is fixed. More I cannot reproduce currently, especially the preview was always correct for me. Anyone confirming?
Created attachment 41305 [details] Screen grab showing bug for me Here is a screen grab showing the bug for me. I just updated to HEAD and rebuilt digikam before doing this.
I have now re-downloaded the DSCN1470_orig.JPG from the link above, regenerated the thumbnail and viewed the full-sized preview. Still, the candlestick is upright for me, I cannot reproduce the problem. Can someone else try as well on Windows and Linux?
For me also DSCN1470_orig.JPG thumb is shoing in portrait mode. The thumb from DSCN1470.JPG is showing in landscape mode. Verified on Linux/Kubuntu. Jens
OK I just upgraded to svnHEAD and found the tick box for 'Show images/thumbnails rotated according to orientation tag' was not ticked. Selecting this and the behaviour is now correct. I guess I just missed this before, but I am not sure that the behaviour was correct for the non-ticked state even so.
Exif rotation defaults to true in any case now. Closing as worksforyou.