MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/attribute.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/colormap-private.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/resource_.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/string_.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/xml-tree.h"
Go to the source code of this file.
Functions | |
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 105 of file colormap.c.
References AcquireQuantumMemory(), _PixelInfo::alpha, _PixelInfo::alpha_trait, BlendPixelTrait, _PixelInfo::blue, _Image::colormap, _Image::colors, DirectClass, _Image::filename, GetMagickModule, GetPixelInfo(), _PixelInfo::green, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickMax, MaxColormapSize, OpaqueAlpha, PseudoClass, QuantumRange, _PixelInfo::red, ResizeQuantumMemory(), ResourceLimitError, SetImageStorageClass(), _Image::signature, _Image::storage_class, ThrowBinaryException, and TraceEvent.
Referenced by Classify(), ColorThresholdImage(), ConnectedComponentsImage(), KmeansImage(), SetGrayscaleImage(), and SetImageColormap().
MagickExport MagickBooleanType CycleColormapImage | ( | Image * | image, |
const ssize_t | displace, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 187 of file colormap.c.
References AcquireAuthenticCacheView(), _Image::colormap, _Image::colors, _Image::columns, DestroyCacheView(), DirectClass, _Image::filename, GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelChannels(), GetPixelIndex(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, PaletteType, _Image::rows, SetImageType(), SetPixelIndex(), SetPixelViaPixelInfo(), _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), and TraceEvent.
|
static |
Definition at line 277 of file colormap.c.
References GetPixelInfoIntensity().
Referenced by SortColormapByIntensity().
MagickExport MagickBooleanType SortColormapByIntensity | ( | Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 297 of file colormap.c.
References AcquireAuthenticCacheView(), AcquireQuantumMemory(), _PixelInfo::alpha, _Image::colormap, _Image::colors, _Image::columns, ConstrainColormapIndex(), DestroyCacheView(), _Image::filename, GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelChannels(), GetPixelIndex(), IntensityCompare(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, PseudoClass, RelinquishMagickMemory(), ResourceLimitError, _Image::rows, SetPixelIndex(), SetPixelViaPixelInfo(), _Image::signature, _Image::storage_class, SyncCacheViewAuthenticPixels(), ThrowBinaryException, and TraceEvent.