X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=coders%2Fnull.c;h=34ebe4f85ad0c5d0b487a6138f8f36b864cfad38;hb=8418c7e51974060a1c724e25d700d72fb437174b;hp=afa70966154c1c322fea60690b663a70dc25c733;hpb=cf12ee4f30a90a786183b9619af888209b670848;p=imagemagick diff --git a/coders/null.c b/coders/null.c index afa709661..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,11 +126,11 @@ 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=(MagickRealType) TransparentAlpha; + background.alpha=(double) TransparentAlpha; if (image->colorspace == CMYKColorspace) - ConvertsRGBToCMYK(&background); + ConvertRGBToCMYK(&background); for (y=0; y < (ssize_t) image->rows; y++) { q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);