]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 11 Dec 2010 16:41:53 +0000 (16:41 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 11 Dec 2010 16:41:53 +0000 (16:41 +0000)
coders/jpeg.c

index a081cda2a1f329cd564a5d809f30fefc96e091fa..5756caedc0e9df1611b48a85a81379cad74edd53 100644 (file)
@@ -520,10 +520,7 @@ static boolean ReadIPTCProfile(j_decompress_ptr jpeg_info)
     }
   else
     {
-      if (strcmp((char *) GetStringInfoDatum(profile),"8BIM") != 0)
-        status=SetImageProfile(image,"iptc",profile);
-      else
-        status=SetImageProfile(image,"8BIM",profile);
+      status=SetImageProfile(image,"8bim",profile);
       profile=DestroyStringInfo(profile);
       if (status == MagickFalse)
         ThrowBinaryException(ResourceLimitError,"MemoryAllocationFailed",