]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 5 Feb 2012 21:10:04 +0000 (21:10 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 5 Feb 2012 21:10:04 +0000 (21:10 +0000)
coders/rgb.c

index aef2619ae95dca6a22dd0f380a252c6a4555888d..4e8de18c31c6085c47609a61d5f07ff8a88ce2aa 100644 (file)
@@ -1119,7 +1119,7 @@ static MagickBooleanType WriteRGBImage(const ImageInfo *image_info,
     {
       quantum_type=RGBOQuantum;
       if (image->matte == MagickFalse)
-        SetImageAlphaChannel(image,QuantumRange-OpaqueAlphaChannel,exception);
+        SetImageAlphaChannel(image,OpaqueAlphaChannel,exception);
     }
   scene=0;
   do