MagickCore
6.8.9
|
#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"
Functions | |
static size_t | MagickMax (const size_t x, const size_t y) |
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) |
MagickExport MagickBooleanType AcquireImageColormap | ( | Image * | image, |
const size_t | colors | ||
) |
References AcquireQuantumMemory(), _PixelPacket::blue, _Image::colormap, _Image::colors, _Image::debug, DirectClass, _Image::filename, GetMagickModule, _PixelPacket::green, LogMagickEvent(), MagickFalse, MagickMax(), MagickSignature, MagickTrue, _PixelPacket::opacity, OpaqueOpacity, PseudoClass, QuantumRange, _PixelPacket::red, ResizeQuantumMemory(), ResourceLimitError, _Image::signature, _Image::storage_class, ThrowBinaryException, and TraceEvent.
Referenced by AllocateImageColormap(), AssignImageColors(), Classify(), DirectToColormapImage(), RandomChannelThresholdImage(), RandomThresholdImageChannel(), SetGrayscaleImage(), SetImageType(), ThresholdImage(), and ThresholdImageChannel().
MagickExport MagickBooleanType CycleColormapImage | ( | Image * | image, |
const ssize_t | displace | ||
) |
References AcquireAuthenticCacheView(), _Image::colormap, _Image::colors, _Image::columns, _Image::debug, DestroyCacheView(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelIndex, LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, PaletteType, _Image::rows, SetImageType(), SetPixelIndex, SetPixelRGBO, _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), and TraceEvent.
|
static |
References PixelPacketIntensity().
Referenced by SortColormapByIntensity().
|
inlinestatic |
Referenced by AcquireImageColormap().
MagickExport MagickBooleanType SortColormapByIntensity | ( | Image * | image | ) |
References AcquireAuthenticCacheView(), AcquireQuantumMemory(), _Image::colormap, _Image::colors, _Image::columns, _Image::debug, DestroyCacheView(), _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelIndex, IntensityCompare(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, _PixelPacket::opacity, PseudoClass, RelinquishMagickMemory(), ResourceLimitError, _Image::rows, SetPixelIndex, SetPixelRGBO, _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), ThrowBinaryException, and TraceEvent.