Commit d03cf6896 for imagemagick.org
commit d03cf68966dac39170d1fa0c4ed04963206a1510
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sun Jun 7 08:17:09 2026 -0400
exif thumnail namespace convention
diff --git a/MagickCore/property.c b/MagickCore/property.c
index 8af7e39de..7590c26fd 100644
--- a/MagickCore/property.c
+++ b/MagickCore/property.c
@@ -1651,7 +1651,7 @@ static void GetEXIFProperty(const Image *image,const char *property,
(void) FormatLocaleString(key,MagickPathExtent,"%s",
description);
if (level == 2)
- (void) SubstituteString(&key,"exif:","exif:thumbnail:");
+ (void) SubstituteString(&key,"exif:","exif:Thumbnail.");
break;
}
case 2:
@@ -1670,7 +1670,7 @@ static void GetEXIFProperty(const Image *image,const char *property,
default:
{
if (level == 2)
- (void) SubstituteString(&key,"exif:","exif:thumbnail:");
+ (void) SubstituteString(&key,"exif:","exif:Thumbnail.");
}
}
if ((image->properties == (void *) NULL) ||
diff --git a/coders/thumbnail.c b/coders/thumbnail.c
index ca920968d..d37d45825 100644
--- a/coders/thumbnail.c
+++ b/coders/thumbnail.c
@@ -185,14 +185,14 @@ static MagickBooleanType WriteTHUMBNAILImage(const ImageInfo *image_info,
profile=GetImageProfile(image,"exif");
if (profile == (const StringInfo *) NULL)
ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail");
- property=GetImageProperty(image,"exif:thumbnail:JPEGInterchangeFormat",
+ property=GetImageProperty(image,"exif:Thumbnail.JPEGInterchangeFormat",
exception);
if (property == (const char *) NULL)
ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail");
offset=(ssize_t) StringToLong(property);
if (offset < 0)
ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail");
- property=GetImageProperty(image,"exif:thumbnail:JPEGInterchangeFormatLength",
+ property=GetImageProperty(image,"exif:Thumbnail.JPEGInterchangeFormatLength",
exception);
if (property == (const char *) NULL)
ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail");