]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 28 Oct 2017 21:14:51 +0000 (17:14 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 28 Oct 2017 21:14:51 +0000 (17:14 -0400)
coders/histogram.c
configure

index 2ff1775dfcd5f393b4dcd07e03e7c1f793ab24bb..efd602df6b9577f10233d3aae78ffbe4adb0264a 100644 (file)
@@ -332,7 +332,8 @@ static MagickBooleanType WriteHISTOGRAMImage(const ImageInfo *image_info,
   histogram=(PixelInfo *) RelinquishMagickMemory(histogram);
   option=GetImageOption(image_info,"histogram:unique-colors");
   if ((IsHistogramImage(image,exception) != MagickFalse) || 
-      (IsStringTrue(option) != MagickFalse))
+      (IsStringTrue(option) != MagickFalse) ||
+      (GetImageOption(image_info,"format") != (const char *) NULL))
     {
       FILE
         *file;
index 956e6c6e61414aac0368cdec001125e6cd56ae3a..6760c1480a234b22592f2b11c16e3709c835afc6 100755 (executable)
--- a/configure
+++ b/configure
@@ -4534,7 +4534,7 @@ MAGICK_PATCHLEVEL_VERSION=9
 
 MAGICK_VERSION=7.0.7-9
 
-MAGICK_GIT_REVISION=21546:62f18fcc2:20171025
+MAGICK_GIT_REVISION=21562:584896c72:20171028
 
 
 # Substitute library versioning