From 62c7658f384da3850274e066cf01743b9d12c1eb Mon Sep 17 00:00:00 2001 From: Jacob Boerema Date: Sun, 8 Dec 2024 13:44:49 -0500 Subject: [PATCH] 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. --- libgimpbase/gimpmetadata.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libgimpbase/gimpmetadata.c b/libgimpbase/gimpmetadata.c index cb1f58ec35..9476d91716 100644 --- a/libgimpbase/gimpmetadata.c +++ b/libgimpbase/gimpmetadata.c @@ -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[] =