#include "magick/studio.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-private.h"#include "magick/quantize.h"#include "magick/quantum.h"#include "magick/semaphore.h"#include "magick/string_.h"#include "magick/token.h"#include "magick/utility.h"#include "magick/xml-tree.h"
Go to the source code of this file.
Functions | |
| MagickExport MagickBooleanType | CycleColormapImage (Image *image, const long displace) |
| static int | IntensityCompare (const void *x, const void *y) |
| MagickExport MagickBooleanType | SortColormapByIntensity (Image *image) |
| MagickExport MagickBooleanType CycleColormapImage | ( | Image * | image, | |
| const long | displace | |||
| ) |
Definition at line 97 of file colormap.c.
References AcquireCacheView(), _PixelPacket::blue, _Image::colormap, _Image::colors, _Image::columns, _Image::debug, DestroyCacheView(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetMagickModule, _PixelPacket::green, LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, PaletteType, _PixelPacket::red, _Image::rows, SetImageType(), _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), and TraceEvent.
| static int IntensityCompare | ( | const void * | x, | |
| const void * | y | |||
| ) | [static] |
Definition at line 193 of file colormap.c.
References PixelIntensityToQuantum().
Referenced by SortColormapByIntensity().
| MagickExport MagickBooleanType SortColormapByIntensity | ( | Image * | image | ) |
Definition at line 213 of file colormap.c.
References AcquireCacheView(), AcquireQuantumMemory(), _Image::colormap, _Image::colors, _Image::columns, _Image::debug, DestroyCacheView(), _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetMagickModule, IntensityCompare(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, _PixelPacket::opacity, PseudoClass, RelinquishMagickMemory(), ResourceLimitError, _Image::rows, _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), ThrowBinaryException, and TraceEvent.
1.6.1