MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/pixel-accessor.h"
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 x) |
static QuantumAny | CastDoubleToQuantumAny (const double x) |
static double | DegreesToRadians (const double degrees) |
static size_t | GetImageChannels (const Image *image) |
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 27 of file image-private.h.
#define BorderColor "#dfdfdf" /* gray */ |
Definition at line 28 of file image-private.h.
#define DefaultResolution 72.0 |
Definition at line 29 of file image-private.h.
#define DefaultTileFrame "15x15+3+3" |
Definition at line 30 of file image-private.h.
#define DefaultTileGeometry "120x120+4+3>" |
Definition at line 31 of file image-private.h.
#define DefaultTileLabel "%f\n%G\n%b" |
Definition at line 32 of file image-private.h.
#define ForegroundColor "#000" /* black */ |
Definition at line 33 of file image-private.h.
#define LoadImagesTag "Load/Images" |
Definition at line 34 of file image-private.h.
#define LoadImageTag "Load/Image" |
Definition at line 35 of file image-private.h.
#define Magick2PI 6.28318530717958647692528676655900576839433879875020 |
Definition at line 36 of file image-private.h.
#define MagickAbsoluteValue | ( | x | ) | ((x) < 0 ? -(x) : (x)) |
Definition at line 37 of file image-private.h.
#define MagickMax | ( | x, | |
y | |||
) | (((x) > (y)) ? (x) : (y)) |
Definition at line 38 of file image-private.h.
#define MagickMin | ( | x, | |
y | |||
) | (((x) < (y)) ? (x) : (y)) |
Definition at line 39 of file image-private.h.
#define MagickPHI 1.61803398874989484820458683436563811772030917980576 |
Definition at line 40 of file image-private.h.
#define MagickPI 3.14159265358979323846264338327950288419716939937510 |
Definition at line 42 of file image-private.h.
#define MagickPI2 1.57079632679489661923132169163975144209858469968755 |
Definition at line 41 of file image-private.h.
#define MagickSQ1_2 0.70710678118654752440084436210484903928483593768847 |
Definition at line 43 of file image-private.h.
#define MagickSQ2 1.41421356237309504880168872420969807856967187537695 |
Definition at line 44 of file image-private.h.
#define MagickSQ2PI 2.50662827463100024161235523934010416269302368164062 |
Definition at line 45 of file image-private.h.
#define MatteColor "#bdbdbd" /* gray */ |
Definition at line 46 of file image-private.h.
#define PSDensityGeometry "72.0x72.0" |
Definition at line 47 of file image-private.h.
#define PSPageGeometry "612x792" |
Definition at line 48 of file image-private.h.
#define SaveImagesTag "Save/Images" |
Definition at line 49 of file image-private.h.
#define SaveImageTag "Save/Image" |
Definition at line 50 of file image-private.h.
#define TransparentColor "#00000000" /* transparent black */ |
Definition at line 51 of file image-private.h.
#define UndefinedCompressionQuality 0UL |
Definition at line 52 of file image-private.h.
#define UndefinedTicksPerSecond 100L |
Definition at line 53 of file image-private.h.
|
inlinestatic |
Definition at line 55 of file image-private.h.
References IsNaN, MAGICK_SSIZE_MAX, and MAGICK_SSIZE_MIN.
Referenced by AcquireImage(), AdaptiveBlurImage(), AdaptiveSharpenImage(), CloneImage(), ConvertHWBToRGB(), CropToFitImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), DrawPrimitive(), InitializeConstituteInfo(), InterpolatePixelChannel(), InterpolatePixelChannels(), InterpolatePixelInfo(), LogPrimitiveInfo(), MotionBlurImage(), PixelRoundOffset(), PlasmaImageProxy(), RenderMVGContent(), RenderPostscript(), SetImageProperty(), ShearImage(), ShearRotateImage(), Sync8BimProfile(), TraceArcPath(), TraceStrokePolygon(), XShearImage(), and YShearImage().
|
inlinestatic |
Definition at line 68 of file image-private.h.
References IsNaN.
|
inlinestatic |
Definition at line 79 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 84 of file image-private.h.
References GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), and UpdatePixelTrait.
Referenced by BlendRMSEResidual(), ExportMultispectralQuantum(), GetFuzzDistortion(), GetImageMoments(), GetImagePerceptualHash(), GetImageStatistics(), GetMeanAbsoluteDistortion(), GetMeanSquaredDistortion(), GetStructuralSimilarityDistortion(), and ImportMultispectralQuantum().
|
inlinestatic |
Definition at line 103 of file image-private.h.
References MagickPI.
Referenced by AngleThreshold(), DeskewImage(), DistortImage(), getAngle(), GetImageMinimumBoundingBox(), GetImageMoments(), and ScaleResampleFilter().
|
inlinestatic |
Definition at line 108 of file image-private.h.
|
inlinestatic |
Definition at line 113 of file image-private.h.
|
inlinestatic |
Definition at line 118 of file image-private.h.
|
inlinestatic |
Definition at line 123 of file image-private.h.