diff --git a/coders/thumbnail.c b/coders/thumbnail.c index 41b7e690d..b36a08493 100644 --- a/coders/thumbnail.c +++ b/coders/thumbnail.c @@ -186,11 +186,11 @@ static MagickBooleanType WriteTHUMBNAILImage(const ImageInfo *image_info, profile=GetImageProfile(image,"exif"); if (profile == (const StringInfo *) NULL) ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail"); - property=GetImageProperty(image,"exif:JPEGInterchangeFormat"); + property=GetImageProperty(image,"exif:thumbnail:JPEGInterchangeFormat"); if (property == (const char *) NULL) ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail"); offset=(ssize_t) StringToLong(property); - property=GetImageProperty(image,"exif:JPEGInterchangeFormatLength"); + property=GetImageProperty(image,"exif:thumbnail:JPEGInterchangeFormatLength"); if (property == (const char *) NULL) ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail"); length=(size_t) StringToLong(property);