#include "magick/image.h"
#include "magick/color.h"
#include "magick/exception-private.h"
Go to the source code of this file.
Functions | |
static IndexPacket | ConstrainColormapIndex (Image *image, const ssize_t index) |
static MagickBooleanType | IsValidColormapIndex (Image *image, const ssize_t index, IndexPacket *target, ExceptionInfo *exception) |
static IndexPacket ConstrainColormapIndex | ( | Image * | image, | |
const ssize_t | index | |||
) | [inline, static] |
References _Image::colors, CorruptImageError, _Image::exception, _Image::filename, GetMagickModule, _ExceptionInfo::severity, and ThrowMagickException().
Referenced by ValidateColormapIndex().
static MagickBooleanType IsValidColormapIndex | ( | Image * | image, | |
const ssize_t | index, | |||
IndexPacket * | target, | |||
ExceptionInfo * | exception | |||
) | [inline, static] |