mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
Reset image type after -combine to avoid incorrect output images (#1835)
This commit is contained in:
@@ -660,6 +660,8 @@ MagickExport Image *CombineImages(const Image *image,
|
||||
combine_view=DestroyCacheView(combine_view);
|
||||
if (status == MagickFalse)
|
||||
combine_image=DestroyImage(combine_image);
|
||||
else
|
||||
combine_image->type=UndefinedType;
|
||||
return(combine_image);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user