Commit ee5b9c56 authored by Cristy's avatar Cristy
parent d1867454
......@@ -2022,8 +2022,10 @@ static MagickBooleanType WriteDPXImage(const ImageInfo *image_info,Image *image,
break;
length=ExportQuantumPixels(image,(CacheView *) NULL,quantum_info,
quantum_type,pixels,exception);
if (length == 0)
break;
count=WriteBlob(image,extent,pixels);
if (count != (ssize_t) length)
if (count != (ssize_t) extent)
break;
status=SetImageProgress(image,SaveImageTag,(MagickOffsetType) y,
image->rows);
......
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