View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002122||GeoSetter||Image Data||public||2021-06-07 09:23||2021-11-24 22:08|
|Target Version||Fixed in Version|
|Summary||0002122: Lightroom cannot write metadata to JPGs saved by GeoSetter|
|Description||Lightroom fails with an error when writing metadata to a file that has been saved by Geosetter.|
But the image (before and after geosetter save) can be read just fine in Lightroom and any other app.
|Steps To Reproduce||1) Geotag image with geosetter|
2) Import into lightroom
3) Make some metadata changes in Lightroom
4) Right click image in lightroom, in context menu select "Metadata" -> "Save Metadata to File"
5) Lightroom attempts to write to file, but fails with error: "Could not write metadata. Unknown file format."
|Additional Information||This problem occurs with every file written by Geosetter it seems. I've attached one such file to the bug. You can also find the image file here:|
|Tags||No tags attached.|
JZB09344.JPG (3,841,687 bytes)
GeoSetter is using ExifTool for writing metadata.
Which version of ExifTool are you using? The latest version is 12.26. If you have an older version you should update ExifTool.
If the problem still appears with the latest version of ExifTool you should report this problem in the ExifTool forum.
||The problem occurs even with the latest version of ExifTool. But it's actually been going on for at least two years. I just never bothered to report it until now. Maybe the key is to figure out exactly what's wrong with the jpg that causes lightroom to reject.|
||Report this behavior in the ExifTool forum (https://exiftool.org/forum/). Phil Harvey (the ExifTool programmer) always takes a close look at something like this.|
I have experienced the same thing with a DAM software that uses Adobe XMP library, the information was read, but I couldn't update it. I did a thorough debugging with Phil Harvey, and identified the following steps to reproduce the issue
1) start with an out of the camera image (in my case DNG)
2) geotag it with GeoSetter
The problem is in XMP-tiff family that contains an empty ImageDescription tag. When I deleted the that specific tag, the geotagged file became compatible with the Adobe library. I would expect that the same library is used in Lightroom. I think, it is unnecessary, to create the any of XMP-tiff family tags, at least for non-TIFF images.
This XMP-tiff tag family is not created, if I first assign a tag in DAM, and geotag the image afterwards.
Before the exiftool commands are fixed, a workaround is to delete the offending tag manually with exiftool
''exiftool -xmp-tiff:imagedescription-= FILE''
You can see the discussion in exiftool forum https://exiftool.org/forum/index.php?topic=13056.0
|2021-06-07 09:23||ricebucket||New Issue|
|2021-06-07 09:23||ricebucket||File Added: JZB09344.JPG|
|2021-06-07 18:12||heiko||Note Added: 0003855|
|2021-06-07 18:41||heiko||Note Edited: 0003855||View Revisions|
|2021-06-08 09:29||ricebucket||Note Added: 0003856|
|2021-06-09 18:06||heiko||Note Added: 0003857|
|2021-11-24 22:08||lintujuh||Note Added: 0003881|