From: Dirk Lemstra Date: Sat, 30 Sep 2017 11:40:54 +0000 (+0200) Subject: Fixed clipping path issue in json output reported in #149. X-Git-Tag: 7.0.7-5~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6a505d8493ff6cdaaea2ea3879a273edaca087f;p=imagemagick Fixed clipping path issue in json output reported in #149. --- diff --git a/coders/json.c b/coders/json.c index 87154589e..df380b7dd 100644 --- a/coders/json.c +++ b/coders/json.c @@ -1543,9 +1543,7 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file, /* Display clipping path. */ - (void) FormatLocaleFile(file," \"clipping path\": {\n"); - JsonFormatLocaleFile(file,"%s\n",value); - (void) FormatLocaleFile(file," },\n"); + JsonFormatLocaleFile(file," \"clipping path\": %s,\n",value); } ResetImageProfileIterator(image); name=GetNextImageProfile(image);