Commit 66bf0f85 authored by Cristy's avatar Cristy

...

parent 650fee25
......@@ -880,6 +880,7 @@ static MagickBooleanType WritePDBImage(const ImageInfo *image_info,Image *image,
ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed");
}
(void) memset(buffer,0,512*sizeof(*buffer));
(void) memset(scanline,0,image->columns*packet_size*sizeof(*scanline));
if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse)
(void) TransformImageColorspace(image,sRGBColorspace,exception);
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment