From ceb8f83dee0ce84867825f214a968bd7777d3823 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 28 Oct 2017 17:14:51 -0400 Subject: [PATCH] ... --- coders/histogram.c | 3 ++- configure | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/coders/histogram.c b/coders/histogram.c index 2ff1775df..efd602df6 100644 --- a/coders/histogram.c +++ b/coders/histogram.c @@ -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; diff --git a/configure b/configure index 956e6c6e6..6760c1480 100755 --- 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 -- 2.40.0