bpp=BitmapHeader2.Depth;
UnpackRaster:
+ status=SetImageExtent(image,image->columns,image->rows,exception);
+ if (status == MagickFalse)
+ break;
if ((image->colors == 0) && (bpp != 24))
{
image->colors=one << bpp;
}
image->columns=Bitmap2Header1.Width;
image->rows=Bitmap2Header1.Height;
+ status=SetImageExtent(image,image->columns,image->rows,exception);
+ if (status == MagickFalse)
+ break;
if ((image->colors == 0) && (bpp != 24))
{
ThrowReaderException(CoderError,"DataEncodingSchemeIsNotSupported");
}
}
- status=SetImageExtent(image,image->columns,image->rows,exception);
- if (status == MagickFalse)
- return(DestroyImageList(image));
Finish:
(void) CloseBlob(image);