image->columns = 1;
image->rows = 1;
image->colors = 0;
+ (void) ResetImagePixels(image,exception);
bpp=0;
BitmapHeader2.RotAngle=0;
Rec2.RecordLength=0;
status=SetImageExtent(image,image->columns,image->rows,exception);
if (status == MagickFalse)
break;
- (void) SetImageBackgroundColor(image,exception);
+ (void) ResetImagePixels(image,exception);
if ((image->storage_class != PseudoClass) && (bpp < 24))
{
image->colors=one << bpp;
status=SetImageExtent(image,image->columns,image->rows,exception);
if (status == MagickFalse)
break;
- (void) SetImageBackgroundColor(image,exception);
+ (void) ResetImagePixels(image,exception);
if ((image->colors == 0) && (bpp != 24))
{
image->colors=one << bpp;