]> granicus.if.org Git - imagemagick/commitdiff
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31920
authorCristy <urban-warrior@imagemagick.org>
Fri, 12 May 2017 14:36:37 +0000 (10:36 -0400)
committerCristy <urban-warrior@imagemagick.org>
Fri, 12 May 2017 14:36:37 +0000 (10:36 -0400)
ChangeLog
coders/histogram.c

index 3d934d28e2f6917c729a599f6590d46397b7890b..fe2f74115b96cad75384206267ce4405693fb7f9 100644 (file)
--- 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  <quetzlzacatenango@image...>
   * Release ImageMagick version 7.0.5-5, GIT revision 19915:12eec43:20170424.
index 8f0317fc521a9297fa3932ee4c50a1875422f4f4..403eba2d570ab32e51208f71c3dc8b6d74be51a1 100644 (file)
@@ -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);