18 #ifndef MAGICKCORE_COLORMAP_PRIVATE_H
19 #define MAGICKCORE_COLORMAP_PRIVATE_H
25 #if defined(__cplusplus) || defined(c_plusplus)
32 if ((index < 0) || (index >= (ssize_t) image->
colors))
45 if ((index < 0) || (index >= (ssize_t) image->
colors))
57 #if defined(__cplusplus) || defined(c_plusplus)
static MagickBooleanType IsValidColormapIndex(Image *image, const ssize_t index, IndexPacket *target, ExceptionInfo *exception)
Definition: colormap-private.h:42
static IndexPacket ConstrainColormapIndex(Image *image, const ssize_t index)
Definition: colormap-private.h:29
Definition: exception.h:102
MagickBooleanType
Definition: magick-type.h:198
char filename[MaxTextExtent]
Definition: image.h:278
Definition: magick-type.h:201
MagickExport MagickBooleanType ThrowMagickException(ExceptionInfo *exception, const char *module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: exception.c:1149
Definition: exception.h:60
size_t colors
Definition: image.h:174
#define GetMagickModule()
Definition: log.h:29
Definition: magick-type.h:200
Quantum IndexPacket
Definition: pixel.h:129
ExceptionInfo exception
Definition: image.h:287
ExceptionType severity
Definition: exception.h:105