]> granicus.if.org Git - imagemagick/blobdiff - coders/null.c
(no commit message)
[imagemagick] / coders / null.c
index 454cf68b6ec3665710c7b6139645f214bab12a85..34ebe4f85ad0c5d0b487a6138f8f36b864cfad38 100644 (file)
 %                    Read/Write Image Of Uniform Color.                       %
 %                                                                             %
 %                              Software Design                                %
-%                                John Cristy                                  %
+%                                   Cristy                                    %
 %                                 July 1992                                   %
 %                                                                             %
 %                                                                             %
-%  Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization      %
+%  Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization      %
 %  dedicated to making software imaging solutions freely available.           %
 %                                                                             %
 %  You may not use this file except in compliance with the License.  You may  %
@@ -126,7 +126,7 @@ static Image *ReadNULLImage(const ImageInfo *image_info,
     image->columns=1;
   if (image->rows == 0)
     image->rows=1;
-  image->matte=MagickTrue;
+  image->alpha_trait=BlendPixelTrait;
   GetPixelInfo(image,&background);
   background.alpha=(double) TransparentAlpha;
   if (image->colorspace == CMYKColorspace)