From: Cristy Date: Fri, 12 May 2017 14:36:37 +0000 (-0400) Subject: https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31920 X-Git-Tag: 7.0.5-6~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d88cf9b09599f1460b5e47e718017de0472353d6;p=imagemagick https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31920 --- diff --git a/ChangeLog b/ChangeLog index 3d934d28e..fe2f74115 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ * Ensure backwards compatibility for the -combine option (reference https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31855). * Check for EOF conditions for RLE image format. + * Reset histogram page geometry (reference + https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31920). 2017-04-24 7.0.5-5 Cristy * Release ImageMagick version 7.0.5-5, GIT revision 19915:12eec43:20170424. diff --git a/coders/histogram.c b/coders/histogram.c index 8f0317fc5..403eba2d5 100644 --- a/coders/histogram.c +++ b/coders/histogram.c @@ -368,6 +368,7 @@ static MagickBooleanType WriteHISTOGRAMImage(const ImageInfo *image_info, */ (void) CopyMagickString(histogram_image->filename,image_info->filename, MagickPathExtent); + (void) ResetImagePage(histogram_image,"0x0+0+0"); write_info=CloneImageInfo(image_info); *write_info->magick='\0'; (void) SetImageInfo(write_info,1,exception);