MagickCore  7.0.3
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 MagickAbsoluteValue(x)   ((x) < 0 ? -(x) : (x))
 
#define MagickMax(x, y)   (((x) > (y)) ? (x) : (y))
 
#define MagickMin(x, y)   (((x) < (y)) ? (x) : (y))
 
#define Magick2PI   6.28318530717958647692528676655900576839433879875020
 
#define MagickPHI   1.61803398874989484820458683436563811772030917980576
 
#define MagickPI   3.14159265358979323846264338327950288419716939937510
 
#define MagickPI2   1.57079632679489661923132169163975144209858469968755
 
#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847
 
#define MagickSQ2   1.41421356237309504880168872420969807856967187537695
 
#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062
 
#define UndefinedTicksPerSecond   100L
 
#define UndefinedCompressionQuality   0UL
 

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)
 

Variables

MagickExport const char AlphaColor []
 
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 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
 

Macro Definition Documentation

#define Magick2PI   6.28318530717958647692528676655900576839433879875020
#define MagickAbsoluteValue (   x)    ((x) < 0 ? -(x) : (x))

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

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

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

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

Referenced by FxEvaluateSubexpression().

#define MagickPI2   1.57079632679489661923132169163975144209858469968755

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

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

#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847
#define MagickSQ2   1.41421356237309504880168872420969807856967187537695

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

Referenced by AcquireKernelBuiltIn().

#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062
#define UndefinedCompressionQuality   0UL

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

Referenced by GetImageInfo(), IdentifyImage(), and SyncImageSettings().

#define UndefinedTicksPerSecond   100L

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

Referenced by AcquireImage().

Function Documentation

static double RadiansToDegrees ( const double  radians)
inlinestatic

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

References MagickPI.

Referenced by DeskewImage(), GetImageMoments(), and ScaleResampleFilter().

static unsigned char ScaleColor5to8 ( const unsigned int  color)
inlinestatic

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

static unsigned char ScaleColor6to8 ( const unsigned int  color)
inlinestatic

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

static unsigned int ScaleColor8to5 ( const unsigned char  color)
inlinestatic

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

static unsigned int ScaleColor8to6 ( const unsigned char  color)
inlinestatic

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

Variable Documentation

MagickExport const char AlphaColor[]
MagickExport const char BackgroundColor[]

Definition at line 111 of file image.c.

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

MagickExport const char BorderColor[]

Definition at line 112 of file image.c.

Referenced by AcquireImage(), and GetImageInfo().

MagickExport const double DefaultResolution

Definition at line 127 of file image.c.

Referenced by RenderHoughLines(), and RenderPostscript().

MagickExport const char DefaultTileFrame[]

Definition at line 113 of file image.c.

Referenced by PreviewImage().

MagickExport const char DefaultTileGeometry[]

Definition at line 114 of file image.c.

Referenced by GetMontageInfo().

MagickExport const char DefaultTileLabel[]

Definition at line 115 of file image.c.

Referenced by PreviewImage().

MagickExport const char ForegroundColor[]

Definition at line 116 of file image.c.

MagickExport const char LoadImagesTag[]

Definition at line 118 of file image.c.

MagickExport const char LoadImageTag[]

Definition at line 117 of file image.c.

Referenced by HuffmanDecodeImage(), and HuffmanEncodeImage().

MagickExport const char PSDensityGeometry[]

Definition at line 120 of file image.c.

MagickExport const char PSPageGeometry[]

Definition at line 121 of file image.c.

MagickExport const char SaveImagesTag[]

Definition at line 123 of file image.c.

MagickExport const char SaveImageTag[]

Definition at line 122 of file image.c.