MagickCore  6.7.5
colormap.c File Reference
Include dependency graph for colormap.c:

Go to the source code of this file.

Functions

static size_t MagickMax (const size_t x, const size_t y)
MagickExport MagickBooleanType AcquireImageColormap (Image *image, const size_t colors, ExceptionInfo *exception)
MagickExport MagickBooleanType CycleColormapImage (Image *image, const ssize_t displace, ExceptionInfo *exception)
static int IntensityCompare (const void *x, const void *y)
MagickExport MagickBooleanType SortColormapByIntensity (Image *image, ExceptionInfo *exception)

Function Documentation

static int IntensityCompare ( const void *  x,
const void *  y 
) [static]

Definition at line 272 of file colormap.c.

References GetPixelInfoIntensity().

Referenced by SortColormapByIntensity().

static size_t MagickMax ( const size_t  x,
const size_t  y 
) [inline, static]

Definition at line 102 of file colormap.c.

Referenced by AcquireImageColormap().