MagickCore
7.0.11
|
Go to the source code of this file.
Macros | |
#define | BackgroundColor "#ffffff" /* white */ |
#define | BorderColor "#dfdfdf" /* gray */ |
#define | DefaultResolution 72.0 |
#define | DefaultTileFrame "15x15+3+3" |
#define | DefaultTileGeometry "120x120+4+3>" |
#define | DefaultTileLabel "%f\n%G\n%b" |
#define | ForegroundColor "#000" /* black */ |
#define | LoadImagesTag "Load/Images" |
#define | LoadImageTag "Load/Image" |
#define | Magick2PI 6.28318530717958647692528676655900576839433879875020 |
#define | MagickAbsoluteValue(x) ((x) < 0 ? -(x) : (x)) |
#define | MagickMax(x, y) (((x) > (y)) ? (x) : (y)) |
#define | MagickMin(x, y) (((x) < (y)) ? (x) : (y)) |
#define | MagickPHI 1.61803398874989484820458683436563811772030917980576 |
#define | MagickPI2 1.57079632679489661923132169163975144209858469968755 |
#define | MagickPI 3.14159265358979323846264338327950288419716939937510 |
#define | MagickSQ1_2 0.70710678118654752440084436210484903928483593768847 |
#define | MagickSQ2 1.41421356237309504880168872420969807856967187537695 |
#define | MagickSQ2PI 2.50662827463100024161235523934010416269302368164062 |
#define | MatteColor "#bdbdbd" /* gray */ |
#define | PSDensityGeometry "72.0x72.0" |
#define | PSPageGeometry "612x792" |
#define | SaveImagesTag "Save/Images" |
#define | SaveImageTag "Save/Image" |
#define | TransparentColor "#00000000" /* transparent black */ |
#define | UndefinedCompressionQuality 0UL |
#define | UndefinedTicksPerSecond 100L |
Functions | |
static ssize_t | CastDoubleToLong (const double value) |
static double | DegreesToRadians (const double degrees) |
static double | RadiansToDegrees (const double 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) |
#define BackgroundColor "#ffffff" /* white */ |
Definition at line 25 of file image-private.h.
Referenced by AcquireImage(), GetImageInfo(), and QueryColorCompliance().
#define BorderColor "#dfdfdf" /* gray */ |
Definition at line 26 of file image-private.h.
Referenced by AcquireImage(), and GetImageInfo().
#define DefaultResolution 72.0 |
Definition at line 27 of file image-private.h.
Referenced by GetMagickPropertyLetter(), RenderHoughLines(), RenderPostscript(), and ResampleImage().
#define DefaultTileFrame "15x15+3+3" |
Definition at line 28 of file image-private.h.
Referenced by PreviewImage().
#define DefaultTileGeometry "120x120+4+3>" |
Definition at line 29 of file image-private.h.
Referenced by GetMontageInfo().
#define DefaultTileLabel "%f\n%G\n%b" |
Definition at line 30 of file image-private.h.
Referenced by PreviewImage().
#define ForegroundColor "#000" /* black */ |
Definition at line 31 of file image-private.h.
#define LoadImagesTag "Load/Images" |
Definition at line 32 of file image-private.h.
#define LoadImageTag "Load/Image" |
Definition at line 33 of file image-private.h.
Referenced by HuffmanDecodeImage(), and HuffmanEncodeImage().
#define Magick2PI 6.28318530717958647692528676655900576839433879875020 |
Definition at line 34 of file image-private.h.
Referenced by AcquireKernelBuiltIn(), AcquireResizeFilter(), BlurGaussian(), DistortImage(), GenerateCoefficients(), and GetOptimalKernelWidth2D().
#define MagickAbsoluteValue | ( | x | ) | ((x) < 0 ? -(x) : (x)) |
Definition at line 35 of file image-private.h.
Referenced by GetFillAlpha(), GetImageFeatures(), ScaleSpace(), and StatisticImage().
#define MagickMax | ( | x, | |
y | |||
) | (((x) > (y)) ? (x) : (y)) |
Definition at line 36 of file image-private.h.
Referenced by AcquireImageColormap(), AcquireKernelBuiltIn(), AcquirePixelThreadSet(), CompareImages(), CompositeHCL(), ConsolidateCrossings(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), DestroyPixelThreadSet(), DitherImage(), DrawAffineImage(), GenerateCoefficients(), Get8BIMProperty(), GetAbsoluteDistortion(), GetEdgeBoundingBox(), GetFillAlpha(), GetFuzzDistortion(), GetFuzzyColorDistance(), GetImageMinimumBoundingBox(), GetMagickNumberThreads(), GetMaxMemoryRequest(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), GetPixelCacheTileSize(), GetPixelInfoIntensity(), GetPixelIntensity(), GetStructuralSimilarityDistortion(), GetTypeInfoByFamily(), GradientImage(), GrayscaleImage(), HorizontalFilter(), HuffmanDecodeImage(), HuffmanEncodeImage(), IsEquivalentAlpha(), IsEquivalentIntensity(), IsFuzzyEquivalencePixelInfo(), IsImagesEqual(), LocalContrastImage(), MontageImageList(), ParseMetaGeometry(), PolaroidImage(), RenderMVGContent(), ResourceComponentGenesis(), SetGrayscaleImage(), SetImageColormap(), SetImageColorMetric(), SetMagickResourceLimit(), SetPixelCacheNexusPixels(), SetQuantumDepth(), StatisticImage(), SwirlImage(), TraceEllipse(), VerticalFilter(), and WaveletDenoiseImage().
#define MagickMin | ( | x, | |
y | |||
) | (((x) < (y)) ? (x) : (y)) |
Definition at line 37 of file image-private.h.
Referenced by AcquireRandomInfo(), AcquireUniqueSymbolicLink(), ApplyEvaluateOperator(), BlobToFile(), ChannelImage(), CLAHEImage(), ClonePixelCacheOnDisk(), ClonePixelCacheRepository(), CompareStringInfo(), ComplexImages(), CompositeHCL(), CompositeImage(), ConfigureFileToStringInfo(), ConnectedComponentsImage(), ConsolidateCrossings(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSI(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), CopyDelegateFile(), DiscardBlobBytes(), dpc_read(), dpc_send(), DrawAffineImage(), ExternalDelegateCommand(), FileToBlob(), FileToImage(), FileToXML(), GenerateCoefficients(), Get8BIMProperty(), GetEdgeBoundingBox(), GetICCProperty(), GetImageMinimumBoundingBox(), GetImageQuantumDepth(), GetMagickNumberThreads(), GetMaxMemoryRequest(), GetMinEdgeBackgroundCensus(), GetPixelInfoIntensity(), GetPixelIntensity(), GetQuantumRange(), GetTypeInfoByFamily(), GetVirtualPixelCacheNexus(), GlobExpression(), GradientImage(), GrayscaleImage(), HaldClutImage(), HorizontalFilter(), HuffmanEncodeImage(), IdentifyImage(), ImageToFile(), InjectImageBlob(), KmeansImage(), LoadLocaleCache(), MontageImageList(), PosterizeImage(), PrintStringInfo(), ReadBlob(), ReadBlobStream(), ReadMatrixElements(), ReadPixelCacheRegion(), RenderMVGContent(), SetMagickResourceLimit(), SetQuantumDepth(), SetStringInfo(), ShredFile(), SimilarityImage(), SpliceImage(), StringToStrings(), TraceBezier(), TracePSClippath(), TraceSVGClippath(), Update8BIMClipPath(), UpdateClipPath(), VerticalFilter(), WriteBlob(), WriteMatrixElements(), and WritePixelCacheRegion().
#define MagickPHI 1.61803398874989484820458683436563811772030917980576 |
Definition at line 38 of file image-private.h.
Referenced by FxEvaluateSubexpression().
#define MagickPI 3.14159265358979323846264338327950288419716939937510 |
Definition at line 40 of file image-private.h.
Referenced by AcquireKernelBuiltIn(), AcquireResizeFilter(), AdaptiveBlurImage(), AdaptiveSharpenImage(), ApplyEvaluateOperator(), ApplyFunction(), BesselOrderOne(), Blackman(), Bohman(), BrightnessContrastImage(), ComplexImages(), CompositeImage(), ConnectedComponentsImage(), Contrast(), ConvertHSIToRGB(), ConvertLCHabToXYZ(), ConvertLCHuvToXYZ(), ConvertRGBToHSI(), ConvertXYZToLCHab(), ConvertXYZToLCHuv(), DegreesToRadians(), DistortImage(), EmbossImage(), FxEvaluateSubexpression(), GenerateCoefficients(), GenerateDifferentialNoise(), GetImageMinimumBoundingBox(), GetImageMoments(), Hamming(), Hann(), ImplodeImage(), Jinc(), RadiansToDegrees(), RenderMVGContent(), ScaleResampleFilter(), ScaleSpace(), SelectiveBlurImage(), SharpenImage(), Sinc(), SincFast(), TraceArcPath(), TraceEllipse(), TraceStrokePolygon(), and WaveImage().
#define MagickPI2 1.57079632679489661923132169163975144209858469968755 |
Definition at line 39 of file image-private.h.
Referenced by Cosine(), DistortImage(), and GenerateCoefficients().
#define MagickSQ1_2 0.70710678118654752440084436210484903928483593768847 |
Definition at line 41 of file image-private.h.
Referenced by AcquireResizeFilter(), ConnectedComponentsImage(), GetFuzzyColorDistance(), IsEquivalentAlpha(), IsEquivalentIntensity(), and IsFuzzyEquivalencePixelInfo().
#define MagickSQ2 1.41421356237309504880168872420969807856967187537695 |
Definition at line 42 of file image-private.h.
Referenced by AcquireKernelBuiltIn(), and ConnectedComponentsImage().
#define MagickSQ2PI 2.50662827463100024161235523934010416269302368164062 |
Definition at line 43 of file image-private.h.
Referenced by AcquireKernelBuiltIn(), GetMotionBlurKernel(), and GetOptimalKernelWidth1D().
#define MatteColor "#bdbdbd" /* gray */ |
Definition at line 44 of file image-private.h.
Referenced by AcquireImage(), and GetImageInfo().
#define PSDensityGeometry "72.0x72.0" |
Definition at line 45 of file image-private.h.
#define PSPageGeometry "612x792" |
Definition at line 46 of file image-private.h.
#define SaveImagesTag "Save/Images" |
Definition at line 47 of file image-private.h.
#define SaveImageTag "Save/Image" |
Definition at line 48 of file image-private.h.
#define TransparentColor "#00000000" /* transparent black */ |
Definition at line 49 of file image-private.h.
Referenced by AcquireImage(), and GetImageInfo().
#define UndefinedCompressionQuality 0UL |
Definition at line 50 of file image-private.h.
Referenced by GetImageInfo(), IdentifyImage(), and SyncImageSettings().
#define UndefinedTicksPerSecond 100L |
Definition at line 51 of file image-private.h.
Referenced by AcquireImage().
|
inlinestatic |
Definition at line 53 of file image-private.h.
References IsNaN, MAGICK_SSIZE_MAX, and MAGICK_SSIZE_MIN.
Referenced by AcquireImage(), AdaptiveBlurImage(), AdaptiveSharpenImage(), CheckPrimitiveExtent(), CloneImage(), ConvertHWBToRGB(), CropToFitImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), DrawPrimitive(), InterpolatePixelChannel(), InterpolatePixelChannels(), InterpolatePixelInfo(), LogPrimitiveInfo(), MotionBlurImage(), PixelRoundOffset(), PlasmaImageProxy(), ReadImage(), RenderMVGContent(), RenderPostscript(), SetImageProperty(), ShearImage(), ShearRotateImage(), TraceArcPath(), TraceStrokePolygon(), XShearImage(), and YShearImage().
|
inlinestatic |
Definition at line 64 of file image-private.h.
References MagickPI.
Referenced by CompositeImage(), DeskewImage(), GenerateCoefficients(), GetStopColorOffset(), GradientImage(), HoughLineImage(), MotionBlurImage(), RenderMVGContent(), RotateImage(), RotationalBlurImage(), ShadeImage(), ShearImage(), ShearRotateImage(), SwirlImage(), TraceArcPath(), TraceEllipse(), and TraceStrokePolygon().
|
inlinestatic |
Definition at line 69 of file image-private.h.
References MagickPI.
Referenced by ConnectedComponentsImage(), DeskewImage(), DistortImage(), getAngle(), GetImageMinimumBoundingBox(), GetImageMoments(), and ScaleResampleFilter().
|
inlinestatic |
Definition at line 74 of file image-private.h.
|
inlinestatic |
Definition at line 79 of file image-private.h.
|
inlinestatic |
Definition at line 84 of file image-private.h.
|
inlinestatic |
Definition at line 89 of file image-private.h.