From ce8e1657c1146c84c785bafc4ddce60edd974e67 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 10 Mar 2018 20:17:44 -0500 Subject: [PATCH] ... --- coders/dpx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coders/dpx.c b/coders/dpx.c index 0944ff7df..4a925f849 100644 --- a/coders/dpx.c +++ b/coders/dpx.c @@ -1135,7 +1135,9 @@ static Image *ReadDPXImage(const ImageInfo *image_info,ExceptionInfo *exception) status=SetImageExtent(image,image->columns,image->rows,exception); if (status == MagickFalse) return(DestroyImageList(image)); - (void) SetImageBackgroundColor(image,exception); + status=ResetImagePixels(image,exception); + if (status == MagickFalse) + return(DestroyImageList(image)); for (n=0; n < (ssize_t) dpx.image.number_elements; n++) { /* -- 2.40.0