|
MagickCore
6.7.5
|
#include "MagickCore/studio.h"#include "MagickCore/blob.h"#include "MagickCore/cache-view.h"#include "MagickCore/cache.h"#include "MagickCore/color.h"#include "MagickCore/color-private.h"#include "MagickCore/colormap.h"#include "MagickCore/client.h"#include "MagickCore/configure.h"#include "MagickCore/exception.h"#include "MagickCore/exception-private.h"#include "MagickCore/gem.h"#include "MagickCore/geometry.h"#include "MagickCore/image-private.h"#include "MagickCore/memory_.h"#include "MagickCore/monitor.h"#include "MagickCore/monitor-private.h"#include "MagickCore/option.h"#include "MagickCore/pixel-accessor.h"#include "MagickCore/quantize.h"#include "MagickCore/quantum.h"#include "MagickCore/semaphore.h"#include "MagickCore/string_.h"#include "MagickCore/token.h"#include "MagickCore/utility.h"#include "MagickCore/xml-tree.h"
Go to the source code of this file.
Functions | |
| static size_t | MagickMax (const size_t x, const size_t y) |
| 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) |
| MagickExport MagickBooleanType AcquireImageColormap | ( | Image * | image, |
| const size_t | colors, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 110 of file colormap.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::colors, _Image::colormap, AcquireQuantumMemory(), ResizeQuantumMemory(), ThrowBinaryException, ResourceLimitError, QuantumRange, MagickMax(), _PixelInfo::red, _PixelInfo::green, _PixelInfo::blue, _PixelInfo::alpha, OpaqueAlpha, SetImageStorageClass(), and PseudoClass.
Referenced by AssignImageColors(), DirectToColormapImage(), SetGrayscaleImage(), and Classify().
| MagickExport MagickBooleanType CycleColormapImage | ( | Image * | image, |
| const ssize_t | displace, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 183 of file colormap.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::storage_class, DirectClass, SetImageType(), PaletteType, MagickTrue, AcquireCacheView(), _Image::rows, GetCacheViewAuthenticPixels(), _Image::columns, GetPixelIndex(), _Image::colors, SetPixelIndex(), SetPixelInfoPixel(), _Image::colormap, GetPixelChannels(), SyncCacheViewAuthenticPixels(), and DestroyCacheView().
| static int IntensityCompare | ( | const void * | x, |
| const void * | y | ||
| ) | [static] |
Definition at line 272 of file colormap.c.
References GetPixelInfoIntensity().
Referenced by SortColormapByIntensity().
| static size_t MagickMax | ( | const size_t | x, |
| const size_t | y | ||
| ) | [inline, static] |
Definition at line 102 of file colormap.c.
Referenced by AcquireImageColormap().
| MagickExport MagickBooleanType SortColormapByIntensity | ( | Image * | image, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 292 of file colormap.c.
References _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::signature, MagickSignature, _Image::storage_class, PseudoClass, MagickTrue, AcquireQuantumMemory(), _Image::colors, ThrowBinaryException, ResourceLimitError, _Image::filename, _Image::colormap, _PixelInfo::alpha, IntensityCompare(), AcquireCacheView(), _Image::rows, GetCacheViewAuthenticPixels(), _Image::columns, GetPixelIndex(), SetPixelIndex(), SetPixelInfoPixel(), GetPixelChannels(), SyncCacheViewAuthenticPixels(), DestroyCacheView(), and RelinquishMagickMemory().