X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=coders%2Fnull.c;h=34ebe4f85ad0c5d0b487a6138f8f36b864cfad38;hb=8418c7e51974060a1c724e25d700d72fb437174b;hp=454cf68b6ec3665710c7b6139645f214bab12a85;hpb=a19f1d70e9a9f88279c4ecafe6dfafc1f9a09599;p=imagemagick diff --git a/coders/null.c b/coders/null.c index 454cf68b6..34ebe4f85 100644 --- a/coders/null.c +++ b/coders/null.c @@ -13,11 +13,11 @@ % 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)