#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
Go to the source code of this file.
Functions | |
static void | ConvertCMYKToRGB (PixelInfo *pixel) |
static void | ConvertRGBToCMYK (PixelInfo *pixel) |
static MagickBooleanType | IsCMYKColorspace (const ColorspaceType colorspace) |
static MagickBooleanType | IsGrayColorspace (const ColorspaceType colorspace) |
static MagickBooleanType | IsRGBColorspace (const ColorspaceType colorspace) |
static MagickBooleanType | IssRGBColorspace (const ColorspaceType colorspace) |
static MagickBooleanType | IssRGBCompatibleColorspace (const ColorspaceType colorspace) |
static void ConvertCMYKToRGB | ( | PixelInfo * | pixel | ) | [inline, static] |
References _PixelInfo::black, _PixelInfo::blue, _PixelInfo::green, QuantumRange, QuantumScale, and _PixelInfo::red.
Referenced by ConformPixelInfo(), and TransformsRGBImage().
static void ConvertRGBToCMYK | ( | PixelInfo * | pixel | ) | [inline, static] |
References _PixelInfo::black, _PixelInfo::blue, CMYKColorspace, _PixelInfo::colorspace, DecodePixelGamma(), _PixelInfo::green, MagickEpsilon, PerceptibleReciprocal(), QuantumRange, QuantumScale, _PixelInfo::red, and sRGBColorspace.
Referenced by ConformPixelInfo(), and sRGBTransformImage().
static MagickBooleanType IsCMYKColorspace | ( | const ColorspaceType | colorspace | ) | [inline, static] |
References CMYKColorspace, MagickFalse, and MagickTrue.
static MagickBooleanType IsGrayColorspace | ( | const ColorspaceType | colorspace | ) | [inline, static] |
References GRAYColorspace, LinearGRAYColorspace, MagickFalse, and MagickTrue.
Referenced by AnnotateImage(), BilevelImage(), BlackThresholdImage(), ChannelFxImage(), ClutImage(), ColorizeImage(), CompositeImage(), ConformPixelInfo(), DistortImage(), DrawPrimitive(), FloodfillPaintImage(), FrameImage(), GetQuantumType(), LevelImageColors(), RangeThresholdImage(), SetImageColorspace(), SetPixelCacheVirtualMethod(), ShadowImage(), SolarizeImage(), SpliceImage(), TintImage(), and WhiteThresholdImage().
static MagickBooleanType IsRGBColorspace | ( | const ColorspaceType | colorspace | ) | [inline, static] |
References LinearGRAYColorspace, MagickFalse, MagickTrue, RGBColorspace, and scRGBColorspace.
Referenced by SetImageColorspace().
static MagickBooleanType IssRGBColorspace | ( | const ColorspaceType | colorspace | ) | [inline, static] |
References MagickFalse, MagickTrue, sRGBColorspace, and TransparentColorspace.
Referenced by QueryColorname(), and TransformImageColorspace().
static MagickBooleanType IssRGBCompatibleColorspace | ( | const ColorspaceType | colorspace | ) | [inline, static] |
References GRAYColorspace, LinearGRAYColorspace, MagickFalse, MagickTrue, RGBColorspace, scRGBColorspace, sRGBColorspace, and TransparentColorspace.
Referenced by AssignImageColors(), ClassifyImageColors(), ConformPixelInfo(), IdentifyImageGray(), IdentifyImageMonochrome(), ModulateImage(), SetImageGray(), and SetImageMonochrome().