#include <magick/pixel.h>#include <magick/exception.h>


Go to the source code of this file.
| typedef struct _ColorInfo ColorInfo |
| typedef struct _ColorPacket ColorPacket |
| typedef struct _ErrorInfo ErrorInfo |
| enum ComplianceType |
| MagickExport void ConcatenateColorComponent | ( | const MagickPixelPacket * | , | |
| const | ChannelType, | |||
| const | ComplianceType, | |||
| char * | ||||
| ) |
| MagickExport void DestroyColorList | ( | void | ) |
| MagickExport const ColorInfo* GetColorInfo | ( | const char * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport const ColorInfo* ** GetColorInfoList | ( | const char * | , | |
| unsigned long * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 1023 of file color.c.
References AcquireQuantumMemory(), AcquireSemaphoreInfo(), color_list, color_semaphore, ColorInfoCompare(), GetColorInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LogMagickEvent(), MagickFalse, _ColorInfo::name, RelinquishSemaphoreInfo(), ResetLinkedListIterator(), _ColorInfo::stealth, and TraceEvent.
Referenced by ListColorInfo().
| MagickExport char** GetColorList | ( | const char * | , | |
| unsigned long * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 1116 of file color.c.
References AcquireQuantumMemory(), AcquireSemaphoreInfo(), color_list, color_semaphore, ColorCompare(), ConstantString(), GetColorInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), LogMagickEvent(), MagickFalse, _ColorInfo::name, RelinquishSemaphoreInfo(), ResetLinkedListIterator(), _ColorInfo::stealth, and TraceEvent.
| MagickExport void GetColorTuple | ( | const MagickPixelPacket * | , | |
| const | MagickBooleanType, | |||
| char * | ||||
| ) |
Definition at line 1258 of file color.c.
References AlphaChannel, _MagickPixelPacket::blue, BlueChannel, CMYKColorspace, _MagickPixelPacket::colorspace, ConcatenateColorComponent(), ConcatenateMagickString(), ConcatentateHexColorComponent(), _MagickPixelPacket::depth, GetMagickModule, _MagickPixelPacket::green, GreenChannel, _MagickPixelPacket::index, IndexChannel, LocaleLower(), LogMagickEvent(), MagickColorspaceOptions, MagickFalse, MagickOptionToMnemonic(), _MagickPixelPacket::matte, MaxTextExtent, _MagickPixelPacket::opacity, OpacityChannel, OpaqueOpacity, _MagickPixelPacket::red, RedChannel, SVGCompliance, SVGCompliant, and TraceEvent.
Referenced by GetNumberColors(), IdentifyImage(), ListColorInfo(), and QueryMagickColorname().
| MagickExport ColorPacket* GetImageHistogram | ( | const Image * | , | |
| unsigned long * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 1403 of file color.c.
References AcquireQuantumMemory(), ClassifyImageColors(), _CubeInfo::colors, DefineImageHistogram(), DestroyCubeInfo(), _Image::filename, GetMagickModule, ResourceLimitError, _CubeInfo::root, and ThrowMagickException().
Referenced by GetNumberColors().
| MagickExport unsigned long GetNumberColors | ( | const Image * | , | |
| FILE * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 1542 of file color.c.
References BlueChannel, ClassifyImageColors(), _Image::client_data, CMYKColorspace, _CubeInfo::colors, _MagickPixelPacket::colorspace, ConcatenateColorComponent(), ConcatenateMagickString(), CopyMagickString(), _ColorPacket::count, DestroyCubeInfo(), GetColorTuple(), GetImageHistogram(), GetMagickPixelPacket(), GreenChannel, HistogramCompare(), HistogramImageTag, _ColorPacket::index, IndexChannel, MagickFalse, MagickSizeFormat, MagickTrue, _MagickPixelPacket::matte, MaxTextExtent, OpacityChannel, _ColorPacket::pixel, _Image::progress_monitor, QuantumTick(), QueryMagickColorname(), RedChannel, RelinquishMagickMemory(), SetMagickPixelPacket(), SVGCompliance, and X11Compliance.
Referenced by GetImageQuantizeError(), IdentifyImage(), and InterpretImageProperties().
| MagickExport MagickBooleanType IsColorSimilar | ( | const Image * | , | |
| const PixelPacket * | , | |||
| const PixelPacket * | ||||
| ) |
| MagickExport MagickBooleanType IsGrayImage | ( | Image * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType IsHistogramImage | ( | const Image * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType IsImageSimilar | ( | const Image * | , | |
| const Image * | , | |||
| long * | x, | |||
| long * | y, | |||
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType IsMagickColorSimilar | ( | const MagickPixelPacket * | , | |
| const MagickPixelPacket * | ||||
| ) |
| MagickExport MagickBooleanType IsMonochromeImage | ( | Image * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType IsOpacitySimilar | ( | const Image * | , | |
| const PixelPacket * | , | |||
| const PixelPacket * | ||||
| ) |
| MagickExport MagickBooleanType IsOpaqueImage | ( | const Image * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType IsPaletteImage | ( | const Image * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType ListColorInfo | ( | FILE * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType QueryColorDatabase | ( | const char * | , | |
| PixelPacket * | , | |||
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType QueryColorname | ( | const Image * | , | |
| const PixelPacket * | , | |||
| const | ComplianceType, | |||
| char * | , | |||
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType QueryMagickColor | ( | const char * | , | |
| MagickPixelPacket * | , | |||
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType QueryMagickColorname | ( | const Image * | , | |
| const MagickPixelPacket * | , | |||
| const | ComplianceType, | |||
| char * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 3368 of file color.c.
References _MagickPixelPacket::blue, _ColorInfo::color, color_list, _ColorInfo::compliance, CopyMagickString(), _Image::depth, _MagickPixelPacket::depth, GetColorInfo(), GetColorTuple(), GetNextValueInLinkedList(), _MagickPixelPacket::green, MagickFalse, MagickMin(), MagickTrue, _Image::matte, _MagickPixelPacket::matte, MaxTextExtent, _ColorInfo::name, _MagickPixelPacket::opacity, OpaqueOpacity, _MagickPixelPacket::red, ResetLinkedListIterator(), SVGCompliance, and XPMCompliance.
Referenced by GetImageProperty(), GetNumberColors(), IdentifyImage(), and QueryColorname().
| MagickExport Image* UniqueImageColors | ( | const Image * | , | |
| ExceptionInfo * | ||||
| ) |
Definition at line 3485 of file color.c.
References AcquireQuantizeInfo(), ClassifyImageColors(), CloneImage(), _CubeInfo::colors, DestroyCubeInfo(), DestroyImage(), DestroyQuantizeInfo(), DirectClass, _QuantizeInfo::dither, _Image::exception, InheritException(), MagickFalse, MagickTrue, MaxColormapSize, _QuantizeInfo::number_colors, QuantizeImage(), _CubeInfo::root, SetImageStorageClass(), _QuantizeInfo::tree_depth, and UniqueColorsToImage().
1.5.7.1