Bug 369668

Summary: EXIF orientation tag is not the same after a RAW export in JPEG
Product: [Applications] digikam Reporter: Dav <davm6101>
Component: Plugin-Bqm-ConvertAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: caulier.gilles
Priority: NOR    
Version: 5.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Attachments: The queue process which have been launched to generate the JPG from CR2 file
Screenshot of the orientation tag available in the CR2 file used to generate the JPG file
Screenshot of the orientation tag available in the generated JPG, which differ from the CR2 orientation tag
Screenshot of the rotation configuration used

Description Dav 2016-10-03 10:21:55 UTC
After an export to google photos, pictures in a portrait orientation are not well oriented when they are coming from a RAW (CR2) file.


Reproducible: Always

Steps to Reproduce:
1.Select a CR2 picture with an portrait orientation.
2.Process to export this file in a google photo folder with the following parameters: 72dpi, max size 2048px, split tags.

Actual Results:  
generated JPG is google photos not well oriented.

Expected Results:  
generated JPG would have the same orientation than the picture in digikam.

Perhaps this is the batch queue manager which is responsible of that:
- Select the same pictures: orientation exif tag is setted as right,top.
- Create a new batch queue process where we select in the configuration center "Convert > Convert in JPG"
- process the queue.
- generated JPG have an exif tag setted to top,left.

This problem does not seem to appear when we process jpg pictures.

Configuration setted for digikam is in "Configure Digikam > Metadatas > Rotation":
- Rotate when setting an flag only
- Write a flag if possible
- Display the pictures and thumbnails according with the orientation flag
Others options are unchecked.
Comment 1 Dav 2016-10-03 10:24:09 UTC
Created attachment 101385 [details]
The queue process which have been launched to generate the JPG from CR2 file
Comment 2 Dav 2016-10-03 10:27:17 UTC
Created attachment 101386 [details]
Screenshot of the orientation tag available in the CR2 file used to generate the JPG file
Comment 3 Dav 2016-10-03 10:28:17 UTC
Created attachment 101387 [details]
Screenshot of the orientation tag available in the generated JPG, which differ from the CR2 orientation tag
Comment 4 Dav 2016-10-03 10:29:26 UTC
Created attachment 101388 [details]
Screenshot of the rotation configuration used
Comment 5 caulier.gilles 2016-11-01 15:18:27 UTC

*** This bug has been marked as a duplicate of bug 328321 ***
Comment 6 caulier.gilles 2019-07-26 17:33:31 UTC
Fixed with bug #328321