+2016-12-14 7.0.4-0 Cristy <quetzlzacatenango@image...>
+ * Lazily evaluate the image storage class and colorspace to prevent cache
+ allocation when pinging an image.
+
2016-12-10 7.0.3-10 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.3-10, GIT revision 19191:338f088:20161210.
ImageType
type;
- MagickBooleanType
- status;
-
+ assert(image != (Image *) NULL);
+ assert(image->signature == MagickCoreSignature);
+ if (image->debug != MagickFalse)
+ (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
+ assert(exception != (ExceptionInfo *) NULL);
+ assert(exception->signature == MagickCoreSignature);
if (image->colorspace == colorspace)
return(MagickTrue);
image->colorspace=colorspace;
image->chromaticity.white_point.y=0.3290;
image->chromaticity.white_point.z=0.3583;
}
- status=SyncImagePixelCache(image,exception);
image->type=type;
- return(status);
+ return(MagickTrue);
}
/*
MagickExport MagickBooleanType SetImageStorageClass(Image *image,
const ClassType storage_class,ExceptionInfo *exception)
{
+ assert(image != (Image *) NULL);
+ assert(image->signature == MagickCoreSignature);
+ if (image->debug != MagickFalse)
+ (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
+ assert(exception != (ExceptionInfo *) NULL);
+ assert(exception->signature == MagickCoreSignature);
image->storage_class=storage_class;
- return(SyncImagePixelCache(image,exception));
+ return(MagickTrue);
}
\f
/*