From: cristy Date: Sat, 21 Nov 2009 02:37:05 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~10357 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d89d5aadb8301206bfc2d7c46781ca4b425035f6;p=imagemagick --- diff --git a/ChangeLog b/ChangeLog index 34633f2f3..13a942087 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2009-11-19 6.5.7-10 Cristy * Add magick/morphlogy.{c,h} source templates. + * Sync image option when reading MPR images. 2009-11-18 6.5.7-9 Cristy * Read / write 32-bit SUN raster images with a odd width. diff --git a/coders/mpr.c b/coders/mpr.c index 34715d45e..18d10c1f9 100644 --- a/coders/mpr.c +++ b/coders/mpr.c @@ -99,6 +99,8 @@ static Image *ReadMPRImage(const ImageInfo *image_info,ExceptionInfo *exception) assert(exception->signature == MagickSignature); image=(Image *) GetImageRegistry(ImageRegistryType,image_info->filename, exception); + if (image != (Image *) NULL) + (void) SyncImageSettings(image_info,image); return(image); }