]> granicus.if.org Git - imagemagick/commitdiff
IPTC profile was mislabeled as 8BIM
authorCristy <mikayla-grace@urban-warrior.org>
Tue, 9 Apr 2019 20:18:07 +0000 (16:18 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Tue, 9 Apr 2019 20:18:07 +0000 (16:18 -0400)
coders/meta.c

index cbdeddeb09e4072abe9fcf80a5f660ab7ec54c03..f3107f07d746de7fc8fede9b98fd03237262dd7d 100644 (file)
@@ -1392,7 +1392,7 @@ static Image *ReadMETAImage(const ImageInfo *image_info,
           buff=DestroyImage(buff);
           ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
         }
-      (void) SetImageProfile(image,"8bim",profile,exception);
+      (void) SetImageProfile(image,"IPTC",profile,exception);
       profile=DestroyStringInfo(profile);
       blob=DetachBlob(buff->blob);
       blob=(unsigned char *) RelinquishMagickMemory(blob);