% July 1992 %
% %
% %
-% Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization %
+% Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization %
% dedicated to making software imaging solutions freely available. %
% %
% You may not use this file except in compliance with the License. You may %
Forward declarations.
*/
static MagickBooleanType
- WriteMPRImage(const ImageInfo *,Image *);
+ WriteMPRImage(const ImageInfo *,Image *,ExceptionInfo *);
\f
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
image=(Image *) GetImageRegistry(ImageRegistryType,image_info->filename,
exception);
if (image != (Image *) NULL)
- (void) SyncImageSettings(image_info,image);
+ (void) SyncImageSettings(image_info,image,exception);
return(image);
}
\f
%
% The format of the WriteMPRImage method is:
%
-% MagickBooleanType WriteMPRImage(const ImageInfo *image_info,Image *image)
+% MagickBooleanType WriteMPRImage(const ImageInfo *image_info,
+% Image *image,ExceptionInfo *exception)
%
% A description of each parameter follows.
%
%
% o image: The image.
%
+% o exception: return any errors or warnings in this structure.
+%
*/
-static MagickBooleanType WriteMPRImage(const ImageInfo *image_info,Image *image)
+static MagickBooleanType WriteMPRImage(const ImageInfo *image_info,Image *image,
+ ExceptionInfo *exception)
{
MagickBooleanType
status;
assert(image->signature == MagickSignature);
if (image->debug != MagickFalse)
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
- status=SetImageRegistry(ImageRegistryType,image->filename,image,
- &image->exception);
+ status=SetImageRegistry(ImageRegistryType,image->filename,image,exception);
return(status);
}