Bug 374242

Summary: exported photos to Gphoto are rotated
Product: [Applications] digikam Reporter: Philippe ROUBACH <philippe.roubach>
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, kusi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0

Description Philippe ROUBACH 2016-12-28 09:16:27 UTC
opensuse 42.2

when exporting photos to Gphoto
then
in the Gphoto album photo are rotated

if i use Gphoto import tool with the same photos there is no problem.

see here the album https://goo.gl/photos/MDuFZesPKaEVXTdYA
the first two photos are exported by digikam
the late two photos are imported by Gphoto

the two photos contains "orientation=right,top"
Comment 1 caulier.gilles 2016-12-28 10:12:48 UTC
What do you mean by "Exported to Gphoto". This is a non sense...

Gilles Caulier
Comment 2 caulier.gilles 2016-12-28 10:15:15 UTC
Gphoto -> GooglePhoto web service...

Gilles caulier
Comment 3 Kusi 2017-01-01 20:41:01 UTC
I can confirm the issue: The "Export to Google Photos" do not respect the orientation field of the photo. Digikam correctly interprets the EXIF orientation flag, while the export plugin doesn't.

This used to work in digikam 4.xx
Comment 4 Maik Qualmann 2017-01-01 22:22:03 UTC
Git commit 17a7be96da4c005f3e2b5caf3038b3104931561c by Maik Qualmann.
Committed on 01/01/2017 at 22:19.
Pushed by mqualmann into branch 'master'.

fix exif orientation when exporting to web services
Related: bug 374409, bug 329309
FIXED-IN: 5.4.0

M  +4    -1    NEWS
M  +1    -0    dropbox/dbtalker.cpp
M  +1    -0    facebook/fbwindow.cpp
M  +1    -0    flickr/flickrtalker.cpp
M  +1    -0    googleservices/gdtalker.cpp
M  +2    -0    googleservices/gptalker.cpp
M  +1    -0    mediawiki/wmwindow.cpp
M  +2    -1    piwigo/piwigotalker.cpp
M  +1    -0    rajce/rajcesession.cpp
M  +1    -0    smug/smugwindow.cpp
M  +1    -0    yandexfotki/yfwindow.cpp

https://commits.kde.org/kipi-plugins/17a7be96da4c005f3e2b5caf3038b3104931561c