MagickCore
7.0.9
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/property.h"
#include "MagickCore/blob.h"
#include "MagickCore/blob-private.h"
#include "MagickCore/cache-private.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/draw.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/cache.h"
#include "MagickCore/constitute.h"
#include "MagickCore/delegate.h"
#include "MagickCore/geometry.h"
#include "MagickCore/image-private.h"
#include "MagickCore/list.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/monitor.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/pixel-private.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/resource_.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/statistic.h"
#include "MagickCore/stream.h"
#include "MagickCore/string_.h"
#include "MagickCore/transform.h"
#include "MagickCore/utility.h"
Macros | |
#define | GetChannelBit(mask, bit) (((size_t) (mask) >> (size_t) (bit)) & 0x01) |
Functions | |
MagickExport PixelChannelMap * | AcquirePixelChannelMap (void) |
MagickExport PixelChannelMap * | ClonePixelChannelMap (PixelChannelMap *channel_map) |
MagickExport PixelInfo * | ClonePixelInfo (const PixelInfo *pixel) |
MagickExport void | ConformPixelInfo (Image *image, const PixelInfo *source, PixelInfo *destination, ExceptionInfo *exception) |
static double | DecodeGamma (const double x) |
MagickExport MagickRealType | DecodePixelGamma (const MagickRealType pixel) |
MagickExport PixelChannelMap * | DestroyPixelChannelMap (PixelChannelMap *channel_map) |
static double | EncodeGamma (const double x) |
MagickExport MagickRealType | EncodePixelGamma (const MagickRealType pixel) |
static MagickBooleanType | ExportCharPixel (const Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ExportDoublePixel (const Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ExportFloatPixel (const Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ExportLongPixel (const Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ExportLongLongPixel (const Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ExportQuantumPixel (const Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ExportShortPixel (const Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, void *pixels, ExceptionInfo *exception) |
MagickExport MagickBooleanType | ExportImagePixels (const Image *image, const ssize_t x, const ssize_t y, const size_t width, const size_t height, const char *map, const StorageType type, void *pixels, ExceptionInfo *exception) |
MagickExport void | GetPixelInfo (const Image *image, PixelInfo *pixel) |
MagickExport MagickRealType | GetPixelInfoIntensity (const Image *magick_restrict image, const PixelInfo *magick_restrict pixel) |
MagickExport MagickRealType | GetPixelIntensity (const Image *magick_restrict image, const Quantum *magick_restrict pixel) |
static MagickBooleanType | ImportCharPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ImportDoublePixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ImportFloatPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ImportLongPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ImportLongLongPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ImportQuantumPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception) |
static MagickBooleanType | ImportShortPixel (Image *image, const RectangleInfo *roi, const char *magick_restrict map, const QuantumType *quantum_map, const void *pixels, ExceptionInfo *exception) |
MagickExport MagickBooleanType | ImportImagePixels (Image *image, const ssize_t x, const ssize_t y, const size_t width, const size_t height, const char *map, const StorageType type, const void *pixels, ExceptionInfo *exception) |
MagickExport void | InitializePixelChannelMap (Image *image) |
static void | CatromWeights (const double x, double(*weights)[4]) |
static double | ConstrainPixelOffset (double x) |
static void | SplineWeights (const double x, double(*weights)[4]) |
static double | MeshInterpolate (const PointInfo *delta, const double p, const double x, const double y) |
MagickExport MagickBooleanType | InterpolatePixelChannel (const Image *magick_restrict image, const CacheView_ *image_view, const PixelChannel channel, const PixelInterpolateMethod method, const double x, const double y, double *pixel, ExceptionInfo *exception) |
MagickExport MagickBooleanType | InterpolatePixelChannels (const Image *magick_restrict source, const CacheView_ *source_view, const Image *magick_restrict destination, const PixelInterpolateMethod method, const double x, const double y, Quantum *pixel, ExceptionInfo *exception) |
static void | AlphaBlendPixelInfo (const Image *image, const Quantum *pixel, PixelInfo *pixel_info, double *alpha) |
MagickExport MagickBooleanType | InterpolatePixelInfo (const Image *image, const CacheView_ *image_view, const PixelInterpolateMethod method, const double x, const double y, PixelInfo *pixel, ExceptionInfo *exception) |
MagickExport MagickBooleanType | IsFuzzyEquivalencePixel (const Image *source, const Quantum *p, const Image *destination, const Quantum *q) |
MagickExport MagickBooleanType | IsFuzzyEquivalencePixelInfo (const PixelInfo *p, const PixelInfo *q) |
static void | LogPixelChannels (const Image *image) |
MagickExport ChannelType | SetPixelChannelMask (Image *image, const ChannelType channel_mask) |
MagickExport MagickBooleanType | SetPixelMetaChannels (Image *image, const size_t number_meta_channels, ExceptionInfo *exception) |
#define GetChannelBit | ( | mask, | |
bit | |||
) | (((size_t) (mask) >> (size_t) (bit)) & 0x01) |
Referenced by SetPixelChannelMask().
MagickExport PixelChannelMap* AcquirePixelChannelMap | ( | void | ) |
References AcquireQuantumMemory(), MaxPixelChannels, ResourceLimitFatalError, and ThrowFatalException.
Referenced by AcquireImage(), and ClonePixelChannelMap().
|
inlinestatic |
References _PixelInfo::alpha, _Image::alpha_trait, _PixelInfo::black, _PixelInfo::blue, CMYKColorspace, _Image::colorspace, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelGreen(), GetPixelRed(), _PixelInfo::green, QuantumScale, _PixelInfo::red, and UndefinedPixelTrait.
Referenced by InterpolatePixelInfo().
|
inlinestatic |
Referenced by InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo().
MagickExport PixelChannelMap* ClonePixelChannelMap | ( | PixelChannelMap * | channel_map | ) |
References AcquirePixelChannelMap(), and MaxPixelChannels.
Referenced by CloneImage().
MagickExport PixelInfo* ClonePixelInfo | ( | const PixelInfo * | pixel | ) |
References AcquireQuantumMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by FxGetSymbol().
MagickExport void ConformPixelInfo | ( | Image * | image, |
const PixelInfo * | source, | ||
PixelInfo * | destination, | ||
ExceptionInfo * | exception | ||
) |
References _PixelInfo::alpha_trait, _Image::alpha_trait, _Image::background_color, CMYKColorspace, _Image::colorspace, _PixelInfo::colorspace, ConvertCMYKToRGB(), ConvertRGBToCMYK(), IsGrayColorspace(), IsPixelInfoGray(), IssRGBCompatibleColorspace(), MagickCoreSignature, MagickFalse, OpaqueAlpha, SetImageAlpha(), _Image::signature, sRGBColorspace, TransformImageColorspace(), and UndefinedPixelTrait.
Referenced by DistortImage(), OpaquePaintImage(), SetImageAlphaChannel(), and SetImageBackgroundColor().
|
inlinestatic |
Referenced by InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo().
|
inlinestatic |
Referenced by DecodePixelGamma().
MagickExport MagickRealType DecodePixelGamma | ( | const MagickRealType | pixel | ) |
References DecodeGamma(), QuantumRange, and QuantumScale.
Referenced by ConvertRGBToCMYK(), ConvertRGBToXYZ(), GetPixelInfoIntensity(), GetPixelInfoLuminance(), GetPixelIntensity(), GetPixelLuminance(), GrayscaleImage(), and sRGBTransformImage().
MagickExport PixelChannelMap* DestroyPixelChannelMap | ( | PixelChannelMap * | channel_map | ) |
References RelinquishMagickMemory().
Referenced by DestroyImage().
|
inlinestatic |
Referenced by EncodePixelGamma().
MagickExport MagickRealType EncodePixelGamma | ( | const MagickRealType | pixel | ) |
References EncodeGamma(), QuantumRange, and QuantumScale.
Referenced by ConvertXYZToRGB(), GetPixelInfoIntensity(), GetPixelInfoLuma(), GetPixelIntensity(), GrayscaleImage(), and TransformsRGBImage().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, ClampToQuantum(), CMYKColorspace, _Image::colorspace, CyanQuantum, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIntensity(), GetPixelRed(), GetVirtualPixels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ExportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, CMYKColorspace, _Image::colorspace, CyanQuantum, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIntensity(), GetPixelRed(), GetVirtualPixels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, QuantumScale, RedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ExportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, CMYKColorspace, _Image::colorspace, CyanQuantum, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIntensity(), GetPixelRed(), GetVirtualPixels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, QuantumScale, RedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ExportImagePixels().
MagickExport MagickBooleanType ExportImagePixels | ( | const Image * | image, |
const ssize_t | x, | ||
const ssize_t | y, | ||
const size_t | width, | ||
const size_t | height, | ||
const char * | map, | ||
const StorageType | type, | ||
void * | pixels, | ||
ExceptionInfo * | exception | ||
) |
References AcquireQuantumMemory(), AlphaQuantum, BlackQuantum, BlueQuantum, CharPixel, CMYKColorspace, _Image::colorspace, CyanQuantum, _Image::debug, DoublePixel, ExportCharPixel(), ExportDoublePixel(), ExportFloatPixel(), ExportLongLongPixel(), ExportLongPixel(), ExportQuantumPixel(), ExportShortPixel(), _Image::filename, FloatPixel, GetMagickModule, GreenQuantum, _RectangleInfo::height, ImageError, IndexQuantum, LogMagickEvent(), LongLongPixel, LongPixel, MagentaQuantum, MagickCoreSignature, MagickFalse, OpacityQuantum, OptionError, QuantumPixel, RedQuantum, RelinquishMagickMemory(), ResourceLimitError, ShortPixel, _Image::signature, ThrowMagickException(), TraceEvent, UndefinedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, ClampToQuantum(), CMYKColorspace, _Image::colorspace, CyanQuantum, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIntensity(), GetPixelRed(), GetVirtualPixels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ExportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, ClampToQuantum(), CMYKColorspace, _Image::colorspace, CyanQuantum, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIntensity(), GetPixelRed(), GetVirtualPixels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ExportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, ClampToQuantum(), CMYKColorspace, _Image::colorspace, CyanQuantum, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIntensity(), GetPixelRed(), GetVirtualPixels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ExportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, ClampToQuantum(), CMYKColorspace, _Image::colorspace, CyanQuantum, GetPixelAlpha(), GetPixelBlack(), GetPixelBlue(), GetPixelChannels(), GetPixelGreen(), GetPixelIntensity(), GetPixelRed(), GetVirtualPixels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ExportImagePixels().
MagickExport void GetPixelInfo | ( | const Image * | image, |
PixelInfo * | pixel | ||
) |
References _PixelInfo::alpha, _PixelInfo::alpha_trait, _Image::alpha_trait, _Image::colorspace, _PixelInfo::colorspace, _Image::depth, _PixelInfo::depth, DirectClass, _PixelInfo::fuzz, _Image::fuzz, MAGICKCORE_QUANTUM_DEPTH, OpaqueAlpha, sRGBColorspace, _Image::storage_class, _PixelInfo::storage_class, and UndefinedPixelTrait.
Referenced by AcquireColorCache(), AcquireImageColormap(), AppendImages(), BlackThresholdImage(), CheckImageColors(), ClassifyImageColors(), ClutImage(), ColorizeImage(), ColorMatrixImage(), CompareImagesBounds(), CompositeImage(), CompositeOverImage(), ConnectedComponentsImage(), DistortImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), DrawPrimitive(), EnhanceImage(), FloodfillPaintImage(), FxGetSymbol(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageDynamicThreshold(), GetNumberColors(), GetOneCacheViewVirtualPixelInfo(), GetOneVirtualPixelInfo(), HaldClutImage(), IdentifyImage(), InterpretImageProperties(), IsEquivalentImage(), MeanShiftImage(), OpaquePaintImage(), QueryColorCompliance(), RandomThresholdImage(), ResamplePixelColor(), SparseColorImage(), sRGBTransformImage(), TintImage(), TransformsRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), WhiteThresholdImage(), XShearImage(), and YShearImage().
MagickExport MagickRealType GetPixelInfoIntensity | ( | const Image *magick_restrict | image, |
const PixelInfo *magick_restrict | pixel | ||
) |
References AveragePixelIntensityMethod, BrightnessPixelIntensityMethod, DecodePixelGamma(), EncodePixelGamma(), LightnessPixelIntensityMethod, MagickMax, MagickMin, MSPixelIntensityMethod, QuantumRange, Rec601LumaPixelIntensityMethod, Rec601LuminancePixelIntensityMethod, Rec709LumaPixelIntensityMethod, Rec709LuminancePixelIntensityMethod, RGBColorspace, RMSPixelIntensityMethod, and sRGBColorspace.
Referenced by IntensityCompare(), IsEquivalentIntensity(), SteganoImage(), and TintImage().
MagickExport MagickRealType GetPixelIntensity | ( | const Image *magick_restrict | image, |
const Quantum *magick_restrict | pixel | ||
) |
References AveragePixelIntensityMethod, BrightnessPixelIntensityMethod, DecodePixelGamma(), EncodePixelGamma(), GetPixelBlue(), GetPixelGreen(), GetPixelRed(), GRAYColorspace, LightnessPixelIntensityMethod, LinearGRAYColorspace, MagickMax, MagickMin, MSPixelIntensityMethod, QuantumRange, Rec601LumaPixelIntensityMethod, Rec601LuminancePixelIntensityMethod, Rec709LumaPixelIntensityMethod, Rec709LuminancePixelIntensityMethod, RGBColorspace, RMSPixelIntensityMethod, and sRGBColorspace.
Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AutoThresholdImage(), BilevelImage(), BlackThresholdImage(), CannyEdgeImage(), CompositeImage(), ConsolidateCMYKImages(), ContrastStretchImage(), EqualizeImage(), ExportCharPixel(), ExportDoublePixel(), ExportFloatPixel(), ExportLongLongPixel(), ExportLongPixel(), ExportQuantumPixel(), ExportShortPixel(), Fish2X(), FxGetSymbol(), HoughLineImage(), HuffmanEncodeImage(), LinearStretchImage(), MorphologyPrimitive(), OilPaintImage(), RangeThresholdImage(), RenderPostscript(), SelectiveBlurImage(), SepiaToneImage(), SetImageAlphaChannel(), SetImageMask(), StreamImagePixels(), TraceEdges(), and WhiteThresholdImage().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, CyanQuantum, GetAuthenticPixels(), GetPixelChannels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, SetPixelAlpha(), SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), SetPixelRed(), SyncAuthenticPixels(), _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ImportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, ClampToQuantum(), CyanQuantum, GetAuthenticPixels(), GetPixelChannels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, QuantumRange, RedQuantum, SetPixelAlpha(), SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), SetPixelRed(), SyncAuthenticPixels(), _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ImportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, ClampToQuantum(), CyanQuantum, GetAuthenticPixels(), GetPixelChannels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, QuantumRange, RedQuantum, SetPixelAlpha(), SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), SetPixelRed(), SyncAuthenticPixels(), _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ImportImagePixels().
MagickExport MagickBooleanType ImportImagePixels | ( | Image * | image, |
const ssize_t | x, | ||
const ssize_t | y, | ||
const size_t | width, | ||
const size_t | height, | ||
const char * | map, | ||
const StorageType | type, | ||
const void * | pixels, | ||
ExceptionInfo * | exception | ||
) |
References AcquireQuantumMemory(), _Image::alpha_trait, AlphaQuantum, BlackQuantum, BlendPixelTrait, BlueQuantum, CharPixel, CMYKColorspace, CyanQuantum, _Image::debug, DirectClass, DoublePixel, _Image::filename, FloatPixel, GetMagickModule, GRAYColorspace, GreenQuantum, _RectangleInfo::height, ImportCharPixel(), ImportDoublePixel(), ImportFloatPixel(), ImportLongLongPixel(), ImportLongPixel(), ImportQuantumPixel(), ImportShortPixel(), IndexQuantum, LogMagickEvent(), LongLongPixel, LongPixel, MagentaQuantum, MagickCoreSignature, MagickFalse, OpacityQuantum, OptionError, QuantumPixel, RedQuantum, RelinquishMagickMemory(), ResourceLimitError, SetImageColorspace(), SetImageStorageClass(), ShortPixel, _Image::signature, ThrowBinaryException, ThrowMagickException(), TraceEvent, UndefinedQuantum, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ConstituteImage().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, CyanQuantum, GetAuthenticPixels(), GetPixelChannels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, SetPixelAlpha(), SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), SetPixelRed(), SyncAuthenticPixels(), _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ImportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, CyanQuantum, GetAuthenticPixels(), GetPixelChannels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, SetPixelAlpha(), SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), SetPixelRed(), SyncAuthenticPixels(), _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ImportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, CyanQuantum, GetAuthenticPixels(), GetPixelChannels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, SetPixelAlpha(), SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), SetPixelRed(), SyncAuthenticPixels(), _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ImportImagePixels().
|
static |
References AlphaQuantum, BlackQuantum, BlueQuantum, CyanQuantum, GetAuthenticPixels(), GetPixelChannels(), GreenQuantum, _RectangleInfo::height, IndexQuantum, LocaleCompare(), MagentaQuantum, magick_restrict, MagickFalse, MagickTrue, OpacityQuantum, RedQuantum, SetPixelAlpha(), SetPixelBlack(), SetPixelBlue(), SetPixelGray(), SetPixelGreen(), SetPixelRed(), SyncAuthenticPixels(), _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, and YellowQuantum.
Referenced by ImportImagePixels().
MagickExport void InitializePixelChannelMap | ( | Image * | image | ) |
References _Image::alpha_trait, AlphaPixelChannel, BlackPixelChannel, BlendPixelTrait, BluePixelChannel, _Image::channel_map, _Image::channel_mask, _Image::channels, CMYKColorspace, _Image::colorspace, CompositeMaskChannel, CompositeMaskPixelChannel, CopyPixelTrait, GRAYColorspace, GreenPixelChannel, IndexPixelChannel, LinearGRAYColorspace, MagickCoreSignature, MaxPixelChannels, _Image::number_channels, _Image::number_meta_channels, PseudoClass, ReadMaskChannel, ReadMaskPixelChannel, RedPixelChannel, SetPixelChannelAttributes(), SetPixelChannelMask(), _Image::signature, _Image::storage_class, UndefinedPixelTrait, UpdatePixelTrait, WriteMaskChannel, and WriteMaskPixelChannel.
Referenced by OpenPixelCache(), ReadStream(), and SetPixelMetaChannels().
MagickExport MagickBooleanType InterpolatePixelChannel | ( | const Image *magick_restrict | image, |
const CacheView_ * | image_view, | ||
const PixelChannel | channel, | ||
const PixelInterpolateMethod | method, | ||
const double | x, | ||
const double | y, | ||
double * | pixel, | ||
ExceptionInfo * | exception | ||
) |
References AlphaPixelChannel, Average16InterpolatePixel, Average9InterpolatePixel, AverageInterpolatePixel, BilinearInterpolatePixel, BlendInterpolatePixel, BlendPixelTrait, CatromInterpolatePixel, CatromWeights(), ConstrainPixelOffset(), GetCacheViewVirtualPixels(), GetPixelAlpha(), GetPixelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelLuma(), IntegerInterpolatePixel, magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MeshInterpolate(), MeshInterpolatePixel, NearestInterpolatePixel, PerceptibleReciprocal(), QuantumScale, SplineInterpolatePixel, SplineWeights(), UndefinedInterpolatePixel, _PointInfo::x, and _PointInfo::y.
MagickExport MagickBooleanType InterpolatePixelChannels | ( | const Image *magick_restrict | source, |
const CacheView_ * | source_view, | ||
const Image *magick_restrict | destination, | ||
const PixelInterpolateMethod | method, | ||
const double | x, | ||
const double | y, | ||
Quantum * | pixel, | ||
ExceptionInfo * | exception | ||
) |
References AlphaPixelChannel, Average16InterpolatePixel, Average9InterpolatePixel, AverageInterpolatePixel, BilinearInterpolatePixel, BlendInterpolatePixel, BlendPixelTrait, CatromInterpolatePixel, CatromWeights(), ClampToQuantum(), ConstrainPixelOffset(), GetCacheViewVirtualPixels(), GetPixelAlpha(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelLuma(), IntegerInterpolatePixel, magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MeshInterpolate(), MeshInterpolatePixel, NearestInterpolatePixel, PerceptibleReciprocal(), QuantumScale, SetPixelChannel(), SplineInterpolatePixel, SplineWeights(), UndefinedInterpolatePixel, UndefinedPixelTrait, _PointInfo::x, and _PointInfo::y.
Referenced by ImplodeImage(), InterpolativeResizeImage(), KuwaharaImage(), SpreadImage(), SwirlImage(), and WaveImage().
MagickExport MagickBooleanType InterpolatePixelInfo | ( | const Image * | image, |
const CacheView_ * | image_view, | ||
const PixelInterpolateMethod | method, | ||
const double | x, | ||
const double | y, | ||
PixelInfo * | pixel, | ||
ExceptionInfo * | exception | ||
) |
References _PixelInfo::alpha, AlphaBlendPixelInfo(), Average16InterpolatePixel, Average9InterpolatePixel, AverageInterpolatePixel, _Image::background_color, BackgroundInterpolatePixel, BilinearInterpolatePixel, _PixelInfo::black, BlendInterpolatePixel, _PixelInfo::blue, CatromInterpolatePixel, CatromWeights(), CMYKColorspace, _Image::colorspace, ConstrainPixelOffset(), GetCacheViewVirtualPixels(), GetPixelChannels(), GetPixelInfoPixel(), GetPixelLuma(), _PixelInfo::green, IntegerInterpolatePixel, _Image::interpolate, MagickCoreSignature, MagickFalse, MagickTrue, MeshInterpolate(), MeshInterpolatePixel, NearestInterpolatePixel, PerceptibleReciprocal(), _PixelInfo::red, _Image::signature, SplineInterpolatePixel, SplineWeights(), UndefinedInterpolatePixel, _PointInfo::x, and _PointInfo::y.
Referenced by ClutImage(), CompositeImage(), DrawAffineImage(), FxGetSymbol(), HaldClutImage(), and ResamplePixelColor().
MagickExport MagickBooleanType IsFuzzyEquivalencePixel | ( | const Image * | source, |
const Quantum * | p, | ||
const Image * | destination, | ||
const Quantum * | q | ||
) |
MagickExport MagickBooleanType IsFuzzyEquivalencePixelInfo | ( | const PixelInfo * | p, |
const PixelInfo * | q | ||
) |
References _PixelInfo::alpha, _PixelInfo::alpha_trait, _PixelInfo::black, _PixelInfo::blue, CMYKColorspace, _PixelInfo::colorspace, _PixelInfo::fuzz, _PixelInfo::green, IsHueCompatibleColorspace(), MagickEpsilon, MagickFalse, MagickMax, MagickSQ1_2, MagickTrue, OpaqueAlpha, QuantumRange, QuantumScale, _PixelInfo::red, and UndefinedPixelTrait.
Referenced by ComparePixels(), ConnectedComponentsImage(), DrawPrimitive(), FloodfillPaintImage(), GetEdgeBackgroundFactor(), GetImageBoundingBox(), IsEquivalentImage(), OpaquePaintImage(), and TransparentPaintImage().
|
static |
References AlphaPixelChannel, BlackPixelChannel, BlendPixelTrait, BluePixelChannel, _Image::channel_mask, CMYKColorspace, _Image::colorspace, CompositeMaskPixelChannel, ConcatenateMagickString(), CopyPixelTrait, _Image::filename, FormatLocaleString(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannelTraits(), GRAYColorspace, GreenPixelChannel, IndexPixelChannel, LinearGRAYColorspace, LogMagickEvent(), MagickPathExtent, MetaPixelChannel, _Image::number_channels, PixelEvent, PseudoClass, ReadMaskPixelChannel, RedPixelChannel, _Image::storage_class, UndefinedColorspace, UpdatePixelTrait, and WriteMaskPixelChannel.
Referenced by SetPixelChannelMask().
|
inlinestatic |
References _PointInfo::x, and _PointInfo::y.
Referenced by InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo().
MagickExport ChannelType SetPixelChannelMask | ( | Image * | image, |
const ChannelType | channel_mask | ||
) |
References _Image::alpha_trait, AlphaPixelChannel, BlendPixelTrait, _Image::channel_mask, _Image::channels, CompositeMaskChannel, CompositeMaskPixelChannel, CopyPixelTrait, _Image::debug, _Image::filename, GetChannelBit, GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), IndexPixelChannel, LogMagickEvent(), LogPixelChannels(), MagickCoreSignature, MagickFalse, PixelEvent, PseudoClass, ReadMaskChannel, ReadMaskPixelChannel, SetPixelChannelTraits(), _Image::signature, _Image::storage_class, UndefinedPixelTrait, UpdatePixelTrait, WriteMaskChannel, and WriteMaskPixelChannel.
Referenced by ChannelFxImage(), FxChannelStatistics(), InitializePixelChannelMap(), MontageImageList(), SetImageAlphaChannel(), SetImageChannelMask(), and ShadowImage().
MagickExport MagickBooleanType SetPixelMetaChannels | ( | Image * | image, |
const size_t | number_meta_channels, | ||
ExceptionInfo * | exception | ||
) |
References InitializePixelChannelMap(), _Image::number_meta_channels, and SyncImagePixelCache().
Referenced by ChannelFxImage().
|
inlinestatic |
Referenced by InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo().