MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
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 277 of file colormap.c.

References GetPixelInfoIntensity().

Referenced by SortColormapByIntensity().

◆ SortColormapByIntensity()