From 6921705634f79731066f03df4baa195e3b07a8e5 Mon Sep 17 00:00:00 2001 From: cristy Date: Fri, 24 Jan 2014 00:47:24 +0000 Subject: [PATCH] --- coders/json.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/coders/json.c b/coders/json.c index 449ea4fca..cbe5db2bd 100644 --- a/coders/json.c +++ b/coders/json.c @@ -905,22 +905,6 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file, (void) FormatLocaleFile(file," %s\n",tuple); } } - if (IsHistogramImage(image,exception) != MagickFalse) - { - (void) FormatLocaleFile(file," Colors: %.20g\n",(double) - GetNumberColors(image,(FILE *) NULL,exception)); - (void) FormatLocaleFile(file," Histogram:\n"); - (void) GetNumberColors(image,file,exception); - } - else - { - artifact=GetImageArtifact(image,"identify:unique-colors"); - if (artifact == (const char *) NULL) - artifact=GetImageArtifact(image,"json:unique-colors"); - if (IfMagickTrue(IsStringTrue(artifact))) - (void) FormatLocaleFile(file," Colors: %.20g\n",(double) - GetNumberColors(image,(FILE *) NULL,exception)); - } } if (image->storage_class == PseudoClass) { -- 2.40.0