]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 16 Dec 2017 12:36:21 +0000 (07:36 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 16 Dec 2017 12:36:21 +0000 (07:36 -0500)
coders/json.c

index 9acc7d9f7ca4dbae4464c6c014b8947995f4f767..80657df3c95b7ec355f87d876399b3db6bc5f383 100644 (file)
@@ -1115,8 +1115,7 @@ static MagickBooleanType EncodeImageAttributes(Image *image,FILE *file,
     Detail channel depth and extrema.
   */
   JSONFormatLocaleFile(file,"    \"colorspace\": %s,\n",
-    CommandOptionToMnemonic(MagickColorspaceOptions,(ssize_t)
-    image->colorspace));
+    CommandOptionToMnemonic(MagickColorspaceOptions,(ssize_t) colorspace));
   channel_statistics=(ChannelStatistics *) NULL;
   channel_moments=(ChannelMoments *) NULL;
   channel_phash=(ChannelPerceptualHash *) NULL;