]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 6 Jun 2011 13:25:51 +0000 (13:25 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 6 Jun 2011 13:25:51 +0000 (13:25 +0000)
ChangeLog
coders/tiff.c

index 9548a4f5e1b02fd1ab4e7876a7347f9d741b1695..11389fc0502a882a89dd37c626e2d79926dfc08c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2011-06-03  6.7.0-3 Cristy  <quetzlzacatenango@image...>
   * Support -direction right-to-left for the label: and caption: coders.
+  * Blue / green reversed for JPEG-compressed TIFF images.
 
 2011-06-03  6.7.0-3 Cristy  <quetzlzacatenango@image...>
   * New version 6.7.0-3.
index f2e538c46024ab33a0cd5cf61ac66fdc4a61504c..8e41dcb4b88757191c86d186911a3473d204bd9f 100644 (file)
@@ -1585,9 +1585,9 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
           {
             SetRedPixelComponent(q,ScaleCharToQuantum((unsigned char)
               TIFFGetR(*p)));
-            SetBluePixelComponent(q,ScaleCharToQuantum((unsigned char)
-              TIFFGetG(*p)));
             SetGreenPixelComponent(q,ScaleCharToQuantum((unsigned char)
+              TIFFGetG(*p)));
+            SetBluePixelComponent(q,ScaleCharToQuantum((unsigned char)
               TIFFGetB(*p)));
             if (image->matte != MagickFalse)
               SetAlphaPixelComponent(q,ScaleCharToQuantum((unsigned char)