MagickCore 6.9.12
|
Go to the source code of this file.
Data Structures | |
struct | _ColorInfo |
struct | _ErrorInfo |
Typedefs | |
typedef struct _ColorInfo | ColorInfo |
typedef struct _ErrorInfo | ErrorInfo |
Enumerations | |
enum | ComplianceType { UndefinedCompliance , NoCompliance = 0x0000 , CSSCompliance = 0x0001 , SVGCompliance = 0x0001 , X11Compliance = 0x0002 , XPMCompliance = 0x0004 , MVGCompliance = 0x0008 , AllCompliance = 0x7fffffff } |
typedef struct _ColorInfo ColorInfo |
typedef struct _ErrorInfo ErrorInfo |
enum ComplianceType |
MagickExport MagickBooleanType ColorComponentGenesis | ( | void | ) |
MagickExport void ColorComponentTerminus | ( | void | ) |
MagickExport void ConcatenateColorComponent | ( | const MagickPixelPacket * | , |
const | ChannelType, | ||
const | ComplianceType, | ||
char * | |||
) |
MagickExport const ColorInfo * GetColorInfo | ( | const char * | , |
ExceptionInfo * | |||
) |
MagickExport const ColorInfo ** GetColorInfoList | ( | const char * | pattern, |
size_t * | number_colors, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1276 of file color.c.
References AcquireQuantumMemory(), color_cache, color_semaphore, ColorInfoCompare(), GetColorInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _ColorInfo::name, ResetLinkedListIterator(), _ColorInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ListColorInfo().
MagickExport char ** GetColorList | ( | const char * | pattern, |
size_t * | number_colors, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1370 of file color.c.
References AcquireQuantumMemory(), color_cache, color_semaphore, ColorCompare(), ConstantString(), GetColorInfo(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GlobExpression(), IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _ColorInfo::name, ResetLinkedListIterator(), _ColorInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
MagickExport void GetColorTuple | ( | const MagickPixelPacket * | pixel, |
const | MagickBooleanType, | ||
char * | tuple | ||
) |
Definition at line 1514 of file color.c.
References AlphaChannel, _MagickPixelPacket::blue, BlueChannel, CMYKColorspace, _MagickPixelPacket::colorspace, CommandOptionToMnemonic(), ConcatenateColorComponent(), ConcatenateMagickString(), ConcatentateHexColorComponent(), _MagickPixelPacket::depth, GetMagickModule, GrayChannel, GRAYColorspace, _MagickPixelPacket::green, GreenChannel, _MagickPixelPacket::index, IndexChannel, IsEventLogging(), LinearGRAYColorspace, LocaleLower(), LogMagickEvent(), MagickColorspaceOptions, MagickFalse, _MagickPixelPacket::matte, MaxTextExtent, _MagickPixelPacket::opacity, OpacityChannel, _MagickPixelPacket::red, RedChannel, SVGCompliance, SVGCompliant, and TraceEvent.
Referenced by ConnectedComponentsImage(), GetImageProperty(), GetNumberColors(), IdentifyImage(), ListColorInfo(), and QueryMagickColorname().
MagickExport MagickBooleanType IsColorSimilar | ( | const Image * | , |
const PixelPacket * | , | ||
const PixelPacket * | |||
) |
MagickExport MagickBooleanType IsImageSimilar | ( | const Image * | , |
const Image * | , | ||
ssize_t * | x, | ||
ssize_t * | y, | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType IsMagickColorSimilar | ( | const MagickPixelPacket * | , |
const MagickPixelPacket * | |||
) |
MagickExport MagickBooleanType IsOpacitySimilar | ( | const Image * | , |
const PixelPacket * | , | ||
const PixelPacket * | |||
) |
MagickExport MagickBooleanType ListColorInfo | ( | FILE * | , |
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType QueryColorCompliance | ( | const char * | , |
const | ComplianceType, | ||
PixelPacket * | , | ||
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 QueryMagickColorCompliance | ( | const char * | , |
const | ComplianceType, | ||
MagickPixelPacket * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType QueryMagickColorname | ( | const Image * | image, |
const MagickPixelPacket * | color, | ||
const | ComplianceType, | ||
char * | name, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 3085 of file color.c.
References _MagickPixelPacket::blue, _ColorInfo::color, color_cache, _MagickPixelPacket::colorspace, _ColorInfo::compliance, CopyMagickString(), _Image::depth, _MagickPixelPacket::depth, GetColorInfo(), GetColorTuple(), GetNextValueInLinkedList(), _MagickPixelPacket::green, IssRGBColorspace(), 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().