MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
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

◆ Magick2PI

#define Magick2PI   6.28318530717958647692528676655900576839433879875020

◆ MagickAbsoluteValue

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

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

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

◆ MagickMax

◆ MagickMin

◆ MagickPHI

#define MagickPHI   1.61803398874989484820458683436563811772030917980576

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

Referenced by FxEvaluateSubexpression().

◆ MagickPI

◆ MagickPI2

#define MagickPI2   1.57079632679489661923132169163975144209858469968755

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

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

◆ MagickSQ1_2

#define MagickSQ1_2   0.70710678118654752440084436210484903928483593768847

◆ MagickSQ2

#define MagickSQ2   1.41421356237309504880168872420969807856967187537695

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

Referenced by AcquireKernelBuiltIn().

◆ MagickSQ2PI

#define MagickSQ2PI   2.50662827463100024161235523934010416269302368164062

◆ UndefinedCompressionQuality

#define UndefinedCompressionQuality   0UL

◆ UndefinedTicksPerSecond

#define UndefinedTicksPerSecond   100L

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

Referenced by AcquireImage().

Function Documentation

◆ DegreesToRadians()

◆ RadiansToDegrees()

static double RadiansToDegrees ( const double  radians)
inlinestatic

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

References MagickPI.

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

◆ ScaleColor5to8()

static unsigned char ScaleColor5to8 ( const unsigned int  color)
inlinestatic

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

◆ ScaleColor6to8()

static unsigned char ScaleColor6to8 ( const unsigned int  color)
inlinestatic

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

◆ ScaleColor8to5()

static unsigned int ScaleColor8to5 ( const unsigned char  color)
inlinestatic

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

◆ ScaleColor8to6()

static unsigned int ScaleColor8to6 ( const unsigned char  color)
inlinestatic

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

Variable Documentation

◆ AlphaColor

MagickExport const char AlphaColor[]

◆ BackgroundColor

MagickExport const char BackgroundColor[]

Definition at line 109 of file image.c.

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

◆ BorderColor

MagickExport const char BorderColor[]

Definition at line 110 of file image.c.

Referenced by AcquireImage(), and GetImageInfo().

◆ DefaultResolution

MagickExport const double DefaultResolution

Definition at line 125 of file image.c.

Referenced by RenderHoughLines(), RenderPostscript(), and RenderType().

◆ DefaultTileFrame

MagickExport const char DefaultTileFrame[]

Definition at line 111 of file image.c.

Referenced by PreviewImage().

◆ DefaultTileGeometry

MagickExport const char DefaultTileGeometry[]

Definition at line 112 of file image.c.

Referenced by GetMontageInfo().

◆ DefaultTileLabel

MagickExport const char DefaultTileLabel[]

Definition at line 113 of file image.c.

Referenced by PreviewImage().

◆ ForegroundColor

MagickExport const char ForegroundColor[]

Definition at line 114 of file image.c.

◆ LoadImagesTag

MagickExport const char LoadImagesTag[]

Definition at line 116 of file image.c.

◆ LoadImageTag

MagickExport const char LoadImageTag[]

Definition at line 115 of file image.c.

Referenced by HuffmanDecodeImage(), and HuffmanEncodeImage().

◆ PSDensityGeometry

MagickExport const char PSDensityGeometry[]

Definition at line 118 of file image.c.

◆ PSPageGeometry

MagickExport const char PSPageGeometry[]

Definition at line 119 of file image.c.

◆ SaveImagesTag

MagickExport const char SaveImagesTag[]

Definition at line 121 of file image.c.

◆ SaveImageTag

MagickExport const char SaveImageTag[]

Definition at line 120 of file image.c.