Bug 256179 - GPS metadata not stored in JPEG when exporting from raw
Summary: GPS metadata not stored in JPEG when exporting from raw
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Sidecar (show other bugs)
Version: 3.5.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 19:50 UTC by cfunghi
Modified: 2016-12-10 20:37 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cfunghi 2010-11-05 19:50:46 UTC
Version:           1.5.0 (using KDE 4.4.4) 
OS:                Linux

When creating a JPEG file from a CR2 file, there are no meta data automatically copied to the new file from the data base (in the CR2 there are comments, tags, GPS data, etc.). So the function "Write meta data to picture" can be used to complete the JPEG file. But the GPS data are not taken. Please extend the function for GPS data.

Another suggestion: May be in the future there will be a more comfortable way to copy all meta data directly when creating a JPEG file from a RAW file? 

Reproducible: Always




OS: Linux (x86_64) release 2.6.34.7-0.5-desktop
Compiler: gcc
Comment 1 caulier.gilles 2010-11-06 14:39:23 UTC
Unreproducible.

If i'm sure about metadata, it's the preservation during conversion.

As photograph, i don't want to see these information disappear.

We use Exiv2 shared library to play with metadata.

Please give use your original image, and the converted image to compare and test. Share it using urls somewhere on the web 

Gilles Caulier
Comment 2 cfunghi 2010-11-10 17:49:13 UTC
It seems to me, as if I couldn't describe the problem clearly enough, sorry. I'll try it again.
I usually work with RAW files (CR2 Canon) and assign all meta data (as comment, tags and geo-location) to these files; of course, these meta data are written to the digikam database only, as RAW files can't contain such EXIF, IPTC or XMP data.
Now I create a JPEG file from my RAW file using digikam image editor. The digikam meta data of the new JPEG file are complete with comment, tags and geo-location as applied to the RAW file. But the JPEG file does not have these information itself (not embedded). So if exporting the file, the information would be lost. 
Fortunately there is the function "Write meta data to image". 
Using the function copies the comment and the tags to the JPEG file, but NOT the geo-location information. Though it is also available in the digikam database.
And this last thing is the issue.
Comment 3 caulier.gilles 2011-12-16 16:41:17 UTC
Cfunghi,

This file still valid using digiKam 2.x serie ?

Gilles Caulier
Comment 4 cfunghi 2011-12-23 18:45:35 UTC
Currently I'm using the Digikam 2.2 (with kipi-plugins 2.2) from SuSE 12.1 distro.
The behavior is just as before: Edit a RAW file with geo-coordinates in digikam data base and save a jpeg copy of the picture. In digikam the geo-coordinates for the jpeg copy are still shown. But using the context menu "Open with..." -> showFoto shows the jpeg picture having no geo-coordinates.

Merry Christmas and a Happy New Year,

Christoph
Comment 5 Marek Wichtowski 2012-08-03 20:58:47 UTC
I can confirm this problem with version 2.7 on Gentoo.
Comment 6 caulier.gilles 2013-11-06 17:13:55 UTC
This file still valid using last digiKam 3.5.0 ?

Gilles Caulier
Comment 7 caulier.gilles 2013-11-06 17:14:03 UTC
*** Bug 269792 has been marked as a duplicate of this bug. ***
Comment 8 Florian 2014-02-08 13:02:08 UTC
Still buggy with 3.5.0 for me. Cf. bugs #280058, #279710?
Comment 9 caulier.gilles 2014-08-28 21:42:56 UTC
cfunghi,

Following comment #8, sound like this bug is relevant of XMP sidecar file management. Right ?

Gilles Caulier
Comment 10 caulier.gilles 2015-05-16 13:11:41 UTC
This file still valid using last digiKam 4.10.0 ?

Gilles Caulier
Comment 11 caulier.gilles 2016-12-01 13:48:00 UTC
Can you reproduce the problem using digiKam Linux AppImage bundle ? The last
bundle is available at this url:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 12 Maik Qualmann 2016-12-10 20:37:49 UTC
The problem is no longer reproducible. After saving to a JPEG file in the image editor or BQM, the GPS data is available. I close this bug now.

Maik