mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
sync pixels before writing if ping is active
This commit is contained in:
@@ -1280,6 +1280,12 @@ MagickExport MagickBooleanType WriteImage(const ImageInfo *image_info,
|
||||
}
|
||||
SyncImageProfiles(image);
|
||||
DisassociateImageStream(image);
|
||||
if (image->ping != MagickFalse)
|
||||
{
|
||||
status=SetImageExtent(image,image->columns,image->rows,exception);
|
||||
if (status == MagickFalse)
|
||||
return(status);
|
||||
}
|
||||
option=GetImageOption(image_info,"delegate:bimodal");
|
||||
if ((IsStringTrue(option) != MagickFalse) &&
|
||||
(write_info->page == (char *) NULL) &&
|
||||
|
||||
Reference in New Issue
Block a user