% 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 %
image->columns=1;
if (image->rows == 0)
image->rows=1;
- image->matte=MagickTrue;
- GetPixelInfo(image,&background);
- background.alpha=(MagickRealType) TransparentAlpha;
- if (image->colorspace == CMYKColorspace)
- ConvertsRGBToCMYK(&background);
+ ConformPixelInfo(image,&image->background_color,&background,exception);
+ image->alpha_trait=BlendPixelTrait;
+ background.alpha=(double) TransparentAlpha;
for (y=0; y < (ssize_t) image->rows; y++)
{
q=QueueAuthenticPixels(image,0,y,image->columns,1,exception);