MagickCore  6.9.11
colormap.c File Reference
#include "magick/studio.h"
#include "magick/attribute.h"
#include "magick/blob.h"
#include "magick/cache-view.h"
#include "magick/cache.h"
#include "magick/color.h"
#include "magick/color-private.h"
#include "magick/colormap.h"
#include "magick/client.h"
#include "magick/configure.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/gem.h"
#include "magick/geometry.h"
#include "magick/image-private.h"
#include "magick/memory_.h"
#include "magick/monitor.h"
#include "magick/monitor-private.h"
#include "magick/option.h"
#include "magick/pixel-accessor.h"
#include "magick/pixel-private.h"
#include "magick/quantize.h"
#include "magick/quantum.h"
#include "magick/semaphore.h"
#include "magick/resource_.h"
#include "magick/string_.h"
#include "magick/thread-private.h"
#include "magick/token.h"
#include "magick/utility.h"
#include "magick/xml-tree.h"
Include dependency graph for colormap.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ AcquireImageColormap()

◆ CycleColormapImage()

◆ IntensityCompare()

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

Definition at line 272 of file colormap.c.

References PixelPacketIntensity().

Referenced by SortColormapByIntensity().

◆ SortColormapByIntensity()