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

Go to the source code of this file.


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

◆ AcquireImageColormap()

◆ CycleColormapImage()

◆ IntensityCompare()

static int IntensityCompare ( const void *  x,
const void *  y 

Definition at line 269 of file colormap.c.

References GetPixelInfoIntensity().

Referenced by SortColormapByIntensity().

◆ SortColormapByIntensity()