MagickCore  7.0.10
image-private.h File Reference
This graph shows which files directly or indirectly include this file:

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 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)
 

Macro Definition Documentation

#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 RenderHoughLines(), and RenderPostscript().

#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
#define MagickAbsoluteValue (   x)    ((x) < 0 ? -(x) : (x))

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

Referenced by GetFillAlpha(), GetImageFeatures(), ScaleSpace(), and StatisticImage().

#define MagickMin (   x,
 
)    (((x) < (y)) ? (x) : (y))

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

Referenced by AcquireRandomInfo(), AcquireUniqueSymbolicLink(), ApplyEvaluateOperator(), BlobToFile(), ChannelImage(), CLAHEImage(), ClonePixelCacheOnDisk(), ClonePixelCacheRepository(), CompareImages(), CompareStringInfo(), ComplexImages(), CompositeHCL(), CompositeImage(), ConfigureFileToStringInfo(), ConnectedComponentsImage(), ConsolidateCrossings(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSI(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), CopyDelegateFile(), DiscardBlobBytes(), dpc_read(), dpc_send(), DrawAffineImage(), FileToBlob(), FileToImage(), FileToXML(), GenerateCoefficients(), Get8BIMProperty(), GetAbsoluteDistortion(), GetEdgeBoundingBox(), GetICCProperty(), GetImageMinimumBoundingBox(), GetImageQuantumDepth(), 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(), VerticalFilter(), WriteBlob(), WriteMatrixElements(), and WritePixelCacheRegion().

#define MagickPHI   1.61803398874989484820458683436563811772030917980576

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

Referenced by FxEvaluateSubexpression().

#define MagickPI2   1.57079632679489661923132169163975144209858469968755

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

Referenced by Cosine(), DistortImage(), and GenerateCoefficients().

#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847
#define MagickSQ2   1.41421356237309504880168872420969807856967187537695

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

Referenced by AcquireKernelBuiltIn(), and ConnectedComponentsImage().

#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062
#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().

Function Documentation

static double RadiansToDegrees ( const double  radians)
inlinestatic
static unsigned char ScaleColor5to8 ( const unsigned int  color)
inlinestatic

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

static unsigned char ScaleColor6to8 ( const unsigned int  color)
inlinestatic

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

static unsigned int ScaleColor8to5 ( const unsigned char  color)
inlinestatic

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

static unsigned int ScaleColor8to6 ( const unsigned char  color)
inlinestatic

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