MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
magick-type.h File Reference
Include dependency graph for magick-type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAGICKCORE_QUANTUM_DEPTH   16
 
#define MagickLLConstant(c)   (MagickOffsetType) (c ## LL)
 
#define MagickULLConstant(c)   (MagickSizeType) (c ## ULL)
 
#define MaxColormapSize   65536UL
 
#define MaxMap   65535UL
 
#define QuantumRange   ((Quantum) 65535)
 
#define QuantumFormat   "%u"
 
#define MagickEpsilon   (1.0e-15)
 
#define MagickMaximumValue   1.79769313486231570E+308
 
#define MagickMinimumValue   2.22507385850720140E-308
 
#define QuantumScale   ((double) 1.0/(double) QuantumRange)
 
#define MagickOffsetFormat   "ld"
 
#define MagickSizeFormat   "lu"
 
#define IsNaN(a)   (a != a)
 
#define INFINITY   (log(0))
 

Typedefs

typedef float MagickFloatType
 
typedef double MagickDoubleType
 
typedef unsigned short Quantum
 
typedef MagickDoubleType MagickRealType
 
typedef unsigned int MagickStatusType
 
typedef ssize_t MagickOffsetType
 
typedef size_t MagickSizeType
 
typedef MagickSizeType QuantumAny
 
typedef struct _BlobInfo BlobInfo
 
typedef struct _ExceptionInfo ExceptionInfo
 
typedef struct _Image Image
 
typedef struct _ImageInfo ImageInfo
 

Enumerations

enum  ClassType { UndefinedClass, DirectClass, PseudoClass }
 
enum  MagickBooleanType { MagickFalse = 0, MagickTrue = 1 }
 

Macro Definition Documentation

◆ INFINITY

#define INFINITY   (log(0))

Definition at line 182 of file magick-type.h.

Referenced by GetPeakSignalToNoiseRatio().

◆ IsNaN

◆ MAGICKCORE_QUANTUM_DEPTH

◆ MagickEpsilon

#define MagickEpsilon   (1.0e-15)

Definition at line 110 of file magick-type.h.

Referenced by AcquireKernelBuiltIn(), AcquireResizeFilter(), AdaptiveBlurImage(), AdaptiveSharpenImage(), ApplyEvaluateOperator(), CalcKernelMetaData(), CannyEdgeImage(), CombineImages(), CompositeImage(), ConvertHSBToRGB(), ConvertHWBToRGB(), ConvertRGBToCMYK(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSB(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), DistortImage(), FxEvaluateSubexpression(), GenerateCoefficients(), GenerateDifferentialNoise(), GetImageMoments(), GetImageStatistics(), GetMagickPropertyLetter(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPeakSignalToNoiseRatio(), GetResizeFilterWeight(), HorizontalFilter(), I0(), IdentifyImage(), InterpretSiPrefixValue(), InverseScaledSigmoidal(), IsFuzzyEquivalencePixel(), IsFuzzyEquivalencePixelInfo(), IsImagesEqual(), IsPixelEquivalent(), IsPixelGray(), IsPixelInfoEquivalent(), IsPixelInfoGray(), IsPixelInfoMonochrome(), IsPixelMonochrome(), IsSVGCompliant(), LevelPixel(), ListMagickVersion(), MagnifyImage(), MinMaxStretchImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), OrderedDitherImage(), ParseAffineGeometry(), ParseMetaGeometry(), PerceptibleReciprocal(), PlasmaImageProxy(), poly_number_terms(), QuantizeErrorCompare(), QueryColorname(), RenderPostscript(), RenderType(), ResamplePixelColor(), ResetQuantumState(), RotateImage(), SameKernelInfo(), SampleImage(), ScaleKernelInfo(), ScaleResampleFilter(), ScaleSpace(), SelectiveBlurImage(), SetImageColorMetric(), ShadeImage(), ShowKernelInfo(), SigmoidalContrastImage(), StopTimer(), and VerticalFilter().

◆ MagickLLConstant

#define MagickLLConstant (   c)    (MagickOffsetType) (c ## LL)

Definition at line 35 of file magick-type.h.

◆ MagickMaximumValue

#define MagickMaximumValue   1.79769313486231570E+308

◆ MagickMinimumValue

#define MagickMinimumValue   2.22507385850720140E-308

Definition at line 112 of file magick-type.h.

Referenced by KapurThreshold().

◆ MagickOffsetFormat

#define MagickOffsetFormat   "ld"

Definition at line 129 of file magick-type.h.

◆ MagickSizeFormat

#define MagickSizeFormat   "lu"

Definition at line 130 of file magick-type.h.

◆ MagickULLConstant

#define MagickULLConstant (   c)    (MagickSizeType) (c ## ULL)

◆ MaxColormapSize

#define MaxColormapSize   65536UL

◆ MaxMap

◆ QuantumFormat

#define QuantumFormat   "%u"

Definition at line 84 of file magick-type.h.

◆ QuantumRange

#define QuantumRange   ((Quantum) 65535)

Definition at line 83 of file magick-type.h.

Referenced by AcquireColorCache(), AcquireImageColormap(), AdaptiveBlurImage(), AdaptiveSharpenImage(), AdaptiveThresholdImage(), AddNoiseImage(), AppendImages(), ApplyEvaluateOperator(), ApplyFunction(), AssignImageColors(), AutoGammaImage(), AutoThresholdImage(), BilevelImage(), BlackThresholdImage(), ChannelFxImage(), ClampImage(), ClampPixel(), ClampToQuantum(), ClassifyImageColors(), ClutImage(), ColorizeImage(), ColorMatrixImage(), CompareImages(), ComparePixels(), ComplexImages(), CompositeImage(), CompositeOverImage(), CompositePixelInfoOver(), CompositePixelInfoPlus(), CompositePixelOver(), ConnectedComponentsImage(), ConsolidateCMYKImages(), ContrastStretchImage(), ConvertCMYKToRGB(), ConvertCMYToRGB(), ConvertHCLpToRGB(), ConvertHCLToRGB(), ConvertHSBToRGB(), ConvertHSIToRGB(), ConvertHSLToRGB(), ConvertHSVToRGB(), ConvertHWBToRGB(), ConvertRGBToCMY(), ConvertRGBToCMYK(), ConvertXYZToRGB(), ConvertYDbDrToRGB(), ConvertYIQToRGB(), ConvertYPbPrToRGB(), ConvertYUVToRGB(), CopyImageRegion(), CropImage(), DecodePixelGamma(), DefineImageColormap(), DrawImage(), EncodePixelGamma(), EnhanceImage(), EqualizeImage(), EvaluateImage(), EvaluateImages(), ExcerptImage(), ExportGrayAlphaQuantum(), ExportGrayQuantum(), ExportQuantumPixels(), FlattenPixelInfo(), FlipImage(), FloodfillPaintImage(), FlopImage(), FloydSteinbergDither(), ForwardFourierTransformImage(), FrameImage(), FunctionImage(), FxEvaluateSubexpression(), FxImage(), GammaImage(), GenerateDifferentialNoise(), GetAbsoluteDistortion(), GetCubeInfo(), GetFuzzDistortion(), GetImageBackgroundColor(), GetImageDepth(), GetImageMoments(), GetImageRange(), GetImageStatistics(), GetLocationStatistics(), GetMagickQuantumRange(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), GetPixelInfoIntensity(), GetPixelIntensity(), GetPixelOpacity(), GetPixelReadMask(), GetPixelWriteMask(), GetQuantumInfo(), GetVirtualPixelsFromNexus(), GrayscaleImage(), HCLComposite(), HorizontalFilter(), HoughLineImage(), HuffmanEncodeImage(), IdentifyImage(), ImplodeImage(), ImportAlphaQuantum(), ImportBGRAQuantum(), ImportBGROQuantum(), ImportBGRQuantum(), ImportBlackQuantum(), ImportBlueQuantum(), ImportCMYKAQuantum(), ImportCMYKOQuantum(), ImportCMYKQuantum(), ImportDoublePixel(), ImportFloatPixel(), ImportGrayAlphaQuantum(), ImportGrayQuantum(), ImportGreenQuantum(), ImportIndexAlphaQuantum(), ImportIndexQuantum(), ImportOpacityQuantum(), ImportQuantumPixels(), ImportRedQuantum(), ImportRGBAQuantum(), ImportRGBOQuantum(), ImportRGBQuantum(), IntegralRotateImage(), InterpolativeResizeImage(), InterpretImageProperties(), IsBoundsCleared(), IsFuzzyEquivalencePixel(), IsFuzzyEquivalencePixelInfo(), IsHighDynamicRangeImage(), IsImagesEqual(), IsPixelAtDepth(), IsPixelInfoMonochrome(), IsPixelMonochrome(), LevelImage(), LevelizeImage(), LevelPixel(), ListMagickVersion(), MatrixToImage(), ModulateImage(), MorphImages(), MorphologyImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), MotionBlurImage(), NegateImage(), OilPaintImage(), OpaquePaintImage(), OrderedDitherImage(), ParseKernelName(), PerceptibleImage(), PlasmaImageProxy(), PlasmaPixel(), PolynomialImage(), PreviewImage(), PrintChannelStatistics(), ProfileImage(), QueryColorCompliance(), RaiseImage(), RandomThresholdImage(), RenderType(), ResamplePixelColor(), RiemersmaDither(), RotationalBlurImage(), SampleImage(), ScaleAnyToQuantum(), ScaleImage(), ScaleQuantumToAny(), SelectiveBlurImage(), SeparateImage(), SepiaToneImage(), SetImageAlpha(), SetImageAlphaChannel(), SetImageColorMetric(), SetImageDepth(), SetImageRegionMask(), SetImageType(), SetPixelOpacity(), ShadeImage(), SigmoidalContrastImage(), SignatureImage(), SimilarityImage(), SketchImage(), SolarizeImage(), SparseColorImage(), SpliceImage(), sRGBTransformImage(), StatisticImage(), SwirlImage(), SyncImageSettings(), TextureImage(), TintImage(), TraceEdges(), TransformsRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImage(), VerticalFilter(), and WhiteThresholdImage().

◆ QuantumScale

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

Definition at line 113 of file magick-type.h.

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AlphaBlendPixelInfo(), ApplyEvaluateOperator(), ApplyFunction(), AssociateAlphaPixel(), AssociateAlphaPixelInfo(), AutoGammaImage(), ClassifyImageColors(), ClosestColor(), CompareImages(), ComplexImages(), CompositeHCL(), CompositeImage(), CompositeOverImage(), CompositePixelInfoOver(), CompositePixelInfoPlus(), CompositePixelOver(), ConcatenateColorComponent(), ConnectedComponentsImage(), ConvertCMYKToRGB(), ConvertRGBToCMY(), ConvertRGBToCMYK(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSB(), ConvertRGBToHSI(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), ConvertRGBToXYZ(), ConvertRGBToYDbDr(), ConvertRGBToYIQ(), ConvertRGBToYPbPr(), ConvertRGBToYUV(), DecodePixelGamma(), DefineImageColormap(), DrawImage(), EncodePixelGamma(), EvaluateImages(), ExportAlphaQuantum(), ExportBGRAQuantum(), ExportBGROQuantum(), ExportBGRQuantum(), ExportBlackQuantum(), ExportBlueQuantum(), ExportCMYKAQuantum(), ExportCMYKOQuantum(), ExportCMYKQuantum(), ExportDoublePixel(), ExportFloatPixel(), ExportGrayAlphaQuantum(), ExportGrayQuantum(), ExportGreenQuantum(), ExportIndexAlphaQuantum(), ExportIndexQuantum(), ExportOpacityQuantum(), ExportQuantumPixels(), ExportRedQuantum(), ExportRGBAQuantum(), ExportRGBOQuantum(), ExportRGBQuantum(), FlattenPixelInfo(), ForwardFourierTransformImage(), FrameImage(), FxChannelStatistics(), FxEvaluateSubexpression(), FxGetSymbol(), GammaImage(), GenerateDifferentialNoise(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetImageBackgroundColor(), GetImageMoments(), GetImageQuantizeError(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPeakAbsoluteDistortion(), GetStructuralSimilarityDistortion(), HaldClutImage(), HorizontalFilter(), ImportQuantumPixels(), InterpolatePixelChannel(), InterpolatePixelChannels(), InterpolativeResizeImage(), IsFuzzyEquivalencePixel(), IsFuzzyEquivalencePixelInfo(), ListMagickVersion(), MagickOver_(), MeanShiftImage(), MorphologyPrimitive(), MotionBlurImage(), OrderedDitherImage(), PolynomialImage(), PrintChannelLocations(), ProfileImage(), RaiseImage(), RenderPostscript(), RenderType(), ResamplePixelColor(), RotationalBlurImage(), ScaleImage(), SelectiveBlurImage(), SetImageAlphaChannel(), SetImageColorMetric(), ShadeImage(), SignatureImage(), sRGBTransformImage(), StreamImagePixels(), TintImage(), TransformsRGBImage(), and VerticalFilter().

Typedef Documentation

◆ BlobInfo

typedef struct _BlobInfo BlobInfo

Definition at line 185 of file magick-type.h.

◆ ExceptionInfo

typedef struct _ExceptionInfo ExceptionInfo

Definition at line 187 of file magick-type.h.

◆ Image

typedef struct _Image Image

Definition at line 189 of file magick-type.h.

◆ ImageInfo

typedef struct _ImageInfo ImageInfo

Definition at line 191 of file magick-type.h.

◆ MagickDoubleType

typedef double MagickDoubleType

Definition at line 51 of file magick-type.h.

◆ MagickFloatType

typedef float MagickFloatType

Definition at line 40 of file magick-type.h.

◆ MagickOffsetType

typedef ssize_t MagickOffsetType

Definition at line 127 of file magick-type.h.

◆ MagickRealType

Definition at line 118 of file magick-type.h.

◆ MagickSizeType

typedef size_t MagickSizeType

Definition at line 128 of file magick-type.h.

◆ MagickStatusType

typedef unsigned int MagickStatusType

Definition at line 119 of file magick-type.h.

◆ Quantum

typedef unsigned short Quantum

Definition at line 82 of file magick-type.h.

◆ QuantumAny

Definition at line 142 of file magick-type.h.

Enumeration Type Documentation

◆ ClassType

enum ClassType
Enumerator
UndefinedClass 
DirectClass 
PseudoClass 

Definition at line 149 of file magick-type.h.

◆ MagickBooleanType

Enumerator
MagickFalse 
MagickTrue 

Definition at line 156 of file magick-type.h.