]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 13 May 2012 00:39:00 +0000 (00:39 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 13 May 2012 00:39:00 +0000 (00:39 +0000)
PerlMagick/t/write.t
coders/miff.c
coders/pnm.c

index 072aa3485ffa1c0585bf5abaf655027a46f9ad81..0c6a73f80c35398ce289d8ad70322fbf43a81530 100644 (file)
@@ -137,7 +137,7 @@ print("Portable pixmap format (color), ASCII format ...\n");
 testReadWrite( 'PPM:input_p3.ppm',
   'PPM:output_p3.ppm',
   q/compression=>'None'/,
-  '34f7d6043e6c578a0959b95f7b707720b5b415360cf5b8710097b4cdfbd0ade5');
+  '6a4a257921582768b774aeeac549b7c0c0b51f665395eddf921cce53a0ad2a33');
 
 print("Portable graymap format (gray scale), binary format ...\n");
 ++$test;
index bee15cb2597a2c3c61c3ece5de8e4bd471ba4fda..bb29292bda278594ac874b114d9d8b3b9af1a07a 100644 (file)
@@ -431,6 +431,9 @@ static Image *ReadMIFFImage(const ImageInfo *image_info,
   int
     c;
 
+  LinkedListInfo
+    *profiles;
+
 #if defined(MAGICKCORE_LZMA_DELEGATE)
   lzma_stream
     initialize_lzma = LZMA_STREAM_INIT,
@@ -440,9 +443,6 @@ static Image *ReadMIFFImage(const ImageInfo *image_info,
     allocator;
 #endif
 
-  LinkedListInfo
-    *profiles;
-
   MagickBooleanType
     status;
 
index 609d99ef8bf6be295ac8f42a720fbf92c5a138ce..d4e9242748eb9eb510c492189d5c891ee8104f7e 100644 (file)
@@ -531,7 +531,6 @@ static Image *ReadPNMImage(const ImageInfo *image_info,ExceptionInfo *exception)
         /*
           Convert PNM image to pixel packets.
         */
-        SetImageColorspace(image,GRAYColorspace,exception);
         scale=(Quantum *) NULL;
         if (max_value != (1U*QuantumRange))
           {