libgimpbase: exclude Exif.SonyMisc3c tags when exporting

Closes #12518

Certain Sony camera's have MakerNote tags in the Exif.SonyMisc3c range.
When exporting with EXIF metadata included this causes a failure saving
the metadata, which means that no metadata at all is saved to the image.

For now, let's exclude these tags, so that all other metadata tags at
least will be saved.
We will keep an eye on exiv2 issue
https://github.com/Exiv2/exiv2/issues/2670
to see if the actual cause will be solved.
This commit is contained in:
Jacob Boerema 2024-12-08 13:44:49 -05:00
parent 0d0a656b88
commit 62c7658f38

View file

@ -137,6 +137,9 @@ static const gchar *unsupported_tags[] =
* unedited original state. */
"Exif.Image.ImageResources",
"Exif.Image.0x935c",
/* Issue #12518 Metadata fails to be exported when certain Sony Exif tags
* are present. */
"Exif.SonyMisc3c",
};
static const guint8 minimal_exif[] =