is it possible to overwrite just the exif data with gps information form the MAP without touching the jpg file?
when i export the jpg gets double in size, although i just want to update GPS information.
thank you!
is it possible to overwrite just the exif data with gps information form the MAP without touching the jpg file?
when i export the jpg gets double in size, although i just want to update GPS information.
thank you!
In the export module, there’s a “preferences…” section hidden in the module menu (the icon with three horizontal lines, as the right of the module header). In those preferences, you can select the metadata you want exported.
(And have a look at the manual)
i have some old jpg files where i want to update the gps locations
ideally i do not want to touch the jpg itself just the exif information.
i use jpg quality 100 (so i do not have quality loss)
profile: image settings
intent: image settings
in storage options of export i miss a function like → only exif data
if i use copy, no gps data is stored
JPEG encoder at quality 100 does not give lossless compression. Play with quality setting, a value of 95 to 97 should reduce the file size by about half.
The “export” module will basically create a new file (unless perhaps when you export to the original location and filename, rather dangerous…)
The size increase you mentioned can be due to the 100% quality setting: when darktable imports a jpeg, the data is expanded (necessary to allow display and edits), exporting forces a new compression.
There is no way within darktable to just update metadata without touching the image data.
thank you for the answer, but this would be a nice option for future updates
In that case you should post a feature request on github.
But:
Allowing updates to existing files is a rather large change of philosophy…
If you really want the gps exif data to be written to the jpg file you could
exiftool
to copy the related tags (GPS latitude, longitude, altitude) from the xmp sidecar to the jpg ( -tagsFromFile option )But be careful, work with copys of your image files to avoid potential damage.