Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1560
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Apr 28, 2019
1 parent 451d0e4 commit 3c53413
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions coders/tiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -4079,13 +4079,15 @@ RestoreMSCWarning
if (image->colorspace == LabColorspace)
DecodeLabImage(image,&image->exception);
DestroyTIFFInfo(&tiff_info);
if (image->exception.severity > ErrorException)
break;
DisableMSCWarning(4127)
if (0 && (image_info->verbose != MagickFalse))
RestoreMSCWarning
TIFFPrintDirectory(tiff,stdout,MagickFalse);
(void) TIFFWriteDirectory(tiff);
if (TIFFWriteDirectory(tiff) == 0)
{
status=MagickFalse;
break;
}
image=SyncNextImageInList(image);
if (image == (Image *) NULL)
break;
Expand All @@ -4094,6 +4096,6 @@ RestoreMSCWarning
break;
} while (image_info->adjoin != MagickFalse);
TIFFClose(tiff);
return(image->exception.severity > ErrorException ? MagickFalse : MagickTrue);
return(status);
}
#endif

0 comments on commit 3c53413

Please sign in to comment.