% July 1992 %
% %
% %
-% Copyright 1999-2015 ImageMagick Studio LLC, a non-profit organization %
+% Copyright 1999-2017 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 %
Create HALD color lookup table image.
*/
assert(image_info != (const ImageInfo *) NULL);
- assert(image_info->signature == MagickSignature);
+ assert(image_info->signature == MagickCoreSignature);
if (image_info->debug != MagickFalse)
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",
image_info->filename);
assert(exception != (ExceptionInfo *) NULL);
- assert(exception->signature == MagickSignature);
+ assert(exception->signature == MagickCoreSignature);
image=AcquireImage(image_info,exception);
level=0;
if (*image_info->filename != '\0')
red;
register Quantum
- *restrict q;
+ *magick_restrict q;
if (status == MagickFalse)
continue;
- q=QueueAuthenticPixels(image,0,y,image->columns,(size_t) level,
- exception);
+ q=QueueAuthenticPixels(image,0,y,image->columns,(size_t) level,exception);
if (q == (Quantum *) NULL)
{
status=MagickFalse;
MagickInfo
*entry;
- entry=SetMagickInfo("HALD");
+ entry=AcquireMagickInfo("HALD","HALD",
+ "Identity Hald color lookup table image");
entry->decoder=(DecodeImageHandler *) ReadHALDImage;
- entry->adjoin=MagickFalse;
+ entry->flags^=CoderAdjoinFlag;
entry->format_type=ImplicitFormatType;
- entry->raw=MagickTrue;
- entry->endian_support=MagickTrue;
- entry->description=ConstantString("Identity Hald color lookup table image");
+ entry->flags|=CoderRawSupportFlag;
+ entry->flags|=CoderEndianSupportFlag;
(void) RegisterMagickInfo(entry);
return(MagickImageCoderSignature);
}