Defines | Functions | Variables

image-private.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MagickPI   3.14159265358979323846264338327950288419716939937510
#define Magick2PI   6.28318530717958647692528676655900576839433879875020
#define MagickPI2   1.57079632679489661923132169163975144209858469968755
#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847
#define MagickSQ2   1.41421356237309504880168872420969807856967187537695
#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062
#define QuantumScale   ((double) 1.0/(double) QuantumRange)
#define UndefinedTicksPerSecond   100L
#define UndefinedCompressionQuality   0UL

Functions

static double DegreesToRadians (const double degrees)
static MagickRealType RadiansToDegrees (const MagickRealType radians)
static unsigned char ScaleColor5to8 (const unsigned int color)
static unsigned char ScaleColor6to8 (const unsigned int color)
static unsigned int ScaleColor8to5 (const unsigned char color)
static unsigned int ScaleColor8to6 (const unsigned char color)

Variables

MagickExport const char BackgroundColor []
MagickExport const char BorderColor []
MagickExport const char DefaultTileFrame []
MagickExport const char DefaultTileGeometry []
MagickExport const char DefaultTileLabel []
MagickExport const char ForegroundColor []
MagickExport const char MatteColor []
MagickExport const char LoadImageTag []
MagickExport const char LoadImagesTag []
MagickExport const char PSDensityGeometry []
MagickExport const char PSPageGeometry []
MagickExport const char SaveImageTag []
MagickExport const char SaveImagesTag []
MagickExport const double DefaultResolution

Define Documentation

#define Magick2PI   6.28318530717958647692528676655900576839433879875020

Definition at line 26 of file image-private.h.

Referenced by AcquireKernelBuiltIn(), DistortImage(), and GetOptimalKernelWidth2D().

#define MagickPI   3.14159265358979323846264338327950288419716939937510
#define MagickPI2   1.57079632679489661923132169163975144209858469968755

Definition at line 27 of file image-private.h.

Referenced by DistortImage().

#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847

Definition at line 28 of file image-private.h.

Referenced by IsColorSimilar(), IsMagickColorSimilar(), and IsOpacitySimilar().

#define MagickSQ2   1.41421356237309504880168872420969807856967187537695

Definition at line 29 of file image-private.h.

Referenced by AcquireKernelBuiltIn().

#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062
#define QuantumScale   ((double) 1.0/(double) QuantumRange)

Definition at line 31 of file image-private.h.

Referenced by AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), ApplyEvaluateOperator(), ApplyFunction(), AssociateAlphaPixel(), AutoGammaImageChannel(), BlurImageChannel(), ClassifyImageColors(), ClosestColor(), ClutImageChannel(), CompositeAtop(), CompositeBumpmap(), CompositeColorBurn(), CompositeColorDodge(), CompositeDarken(), CompositeDifference(), CompositeDivide(), CompositeExclusion(), CompositeHardLight(), CompositeHSB(), CompositeImageChannel(), CompositeIn(), CompositeLighten(), CompositeLinearBurn(), CompositeLinearDodge(), CompositeLinearLight(), CompositeMathematics(), CompositeMinus(), CompositeModulusAdd(), CompositeModulusSubtract(), CompositeMultiply(), CompositeOut(), CompositePegtopLight(), CompositePinLight(), CompositeScreen(), CompositeSoftLight(), CompositeVividLight(), CompositeXor(), ConcatenateColorComponent(), ConvertCMYKToRGB(), ConvertRGBToHSB(), ConvertRGBToHSL(), ConvertRGBToHWB(), ConvertRGBToXYZ(), ConvolveImageChannel(), DefineImageColormap(), DrawImage(), ExportImagePixels(), ExportQuantumPixels(), ExtractSubimageFromImage(), FilterImageChannel(), FrameImage(), FxChannelStatistics(), FxEvaluateSubexpression(), FxGetSymbol(), GetImageBackgroundColor(), GetImageQuantizeError(), GetMeanAbsoluteError(), GetMeanErrorPerPixel(), GetMeanSquaredError(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPeakAbsoluteError(), GetSimilarityMetric(), HaldClutImageChannel(), HorizontalFilter(), ImportQuantumPixels(), InterpolatePixelColor(), InterpolateResampleFilter(), IsColorSimilar(), IsImagesEqual(), IsMagickColorSimilar(), MagickCompositeOver(), MagickOver_(), MagickPixelCompositeMask(), MagickPixelCompositeOver(), MagickPixelCompositePlus(), MorphologyPrimitive(), MotionBlurImageChannel(), OrderedPosterizeImageChannel(), QueryColorCompliance(), RadialBlurImageChannel(), RaiseImage(), SelectiveBlurImageChannel(), ShadeImage(), SigmoidalContrastImageChannel(), StreamImagePixels(), TintImage(), TransformHSL(), TransformRGBImage(), and VerticalFilter().

#define UndefinedCompressionQuality   0UL

Definition at line 33 of file image-private.h.

Referenced by IdentifyImage(), and SyncImageSettings().

#define UndefinedTicksPerSecond   100L

Definition at line 32 of file image-private.h.


Function Documentation

static double DegreesToRadians ( const double  degrees  )  [inline, static]
static MagickRealType RadiansToDegrees ( const MagickRealType  radians  )  [inline, static]

Definition at line 58 of file image-private.h.

References MagickPI.

Referenced by DeskewImage(), and ScaleResampleFilter().

static unsigned char ScaleColor5to8 ( const unsigned int  color  )  [inline, static]

Definition at line 63 of file image-private.h.

static unsigned char ScaleColor6to8 ( const unsigned int  color  )  [inline, static]

Definition at line 68 of file image-private.h.

static unsigned int ScaleColor8to5 ( const unsigned char  color  )  [inline, static]

Definition at line 73 of file image-private.h.

static unsigned int ScaleColor8to6 ( const unsigned char  color  )  [inline, static]

Definition at line 78 of file image-private.h.


Variable Documentation

MagickExport const char BackgroundColor[]

Definition at line 102 of file image.c.

Referenced by AcquireImage(), GetImageInfo(), and QueryMagickColorCompliance().

MagickExport const char BorderColor[]

Definition at line 103 of file image.c.

Referenced by AcquireImage(), GetImageInfo(), XGetPixelPacket(), and XGetResourceInfo().

MagickExport const double DefaultResolution

Definition at line 118 of file image.c.

Referenced by AcquireImage(), DrawBoundingRectangles(), and RenderPostscript().

MagickExport const char DefaultTileFrame[]

Definition at line 104 of file image.c.

Referenced by PreviewImage().

MagickExport const char DefaultTileGeometry[]

Definition at line 105 of file image.c.

Referenced by GetMontageInfo().

MagickExport const char DefaultTileLabel[]

Definition at line 106 of file image.c.

Referenced by PreviewImage().

MagickExport const char ForegroundColor[]

Definition at line 107 of file image.c.

Referenced by XGetPixelPacket(), and XGetResourceInfo().

MagickExport const char LoadImagesTag[]

Definition at line 109 of file image.c.

MagickExport const char LoadImageTag[]

Definition at line 108 of file image.c.

Referenced by HuffmanDecodeImage(), and HuffmanEncodeImage().

MagickExport const char MatteColor[]

Definition at line 110 of file image.c.

Referenced by AcquireImage(), and GetImageInfo().

MagickExport const char PSDensityGeometry[]

Definition at line 111 of file image.c.

MagickExport const char PSPageGeometry[]

Definition at line 112 of file image.c.

MagickExport const char SaveImagesTag[]

Definition at line 114 of file image.c.

MagickExport const char SaveImageTag[]

Definition at line 113 of file image.c.