From 3dae5ae793cc6c441a9f80e0072d6f92384a188d Mon Sep 17 00:00:00 2001 From: glennrp Date: Thu, 23 Dec 2010 22:42:52 +0000 Subject: [PATCH] *image instead if image in SetImageProperty in wand/mogrify.c --- wand/mogrify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wand/mogrify.c b/wand/mogrify.c index 3baf91720..19f113a80 100644 --- a/wand/mogrify.c +++ b/wand/mogrify.c @@ -3161,15 +3161,15 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc, Strip image of profiles and comments. */ (void) SyncImageSettings(mogrify_info,*image); - (void) StripImage(*image); #if 1 /* This was emporarily moved from image.c, where we don't have access to image_info */ - (void) SetImageProperty(image_info,"png:include-chunk","none,gama"); + (void) SetImageProperty(*image,"png:include-chunk","none,gama"); #endif + (void) StripImage(*image); InheritException(exception,&(*image)->exception); break; } -- 2.40.0