MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
quantum-import.c File Reference
Include dependency graph for quantum-import.c:

Go to the source code of this file.

Functions

static Quantum PushColormapIndex (const Image *image, const size_t index, MagickBooleanType *range_exception)
 
static const unsigned char * PushDoublePixel (QuantumInfo *quantum_info, const unsigned char *magick_restrict pixels, double *pixel)
 
static const unsigned char * PushQuantumFloatPixel (QuantumInfo *quantum_info, const unsigned char *magick_restrict pixels, float *pixel)
 
static const unsigned char * PushQuantumPixel (QuantumInfo *quantum_info, const unsigned char *magick_restrict pixels, unsigned int *quantum)
 
static const unsigned char * PushQuantumLongPixel (QuantumInfo *quantum_info, const unsigned char *magick_restrict pixels, unsigned int *quantum)
 
static void ImportAlphaQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportBGRQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportBGRAQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportBGROQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportBlackQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q, ExceptionInfo *exception)
 
static void ImportBlueQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportCbYCrYQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportCMYKQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q, ExceptionInfo *exception)
 
static void ImportCMYKAQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q, ExceptionInfo *exception)
 
static void ImportCMYKOQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q, ExceptionInfo *exception)
 
static void ImportGrayQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportGrayAlphaQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportGreenQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportIndexQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q, ExceptionInfo *exception)
 
static void ImportIndexAlphaQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q, ExceptionInfo *exception)
 
static void ImportOpacityQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportRedQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportRGBQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportRGBAQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
static void ImportRGBOQuantum (const Image *image, QuantumInfo *quantum_info, const MagickSizeType number_pixels, const unsigned char *magick_restrict p, Quantum *magick_restrict q)
 
MagickExport size_t ImportQuantumPixels (const Image *image, CacheView *image_view, QuantumInfo *quantum_info, const QuantumType quantum_type, const unsigned char *magick_restrict pixels, ExceptionInfo *exception)
 

Function Documentation

◆ ImportAlphaQuantum()

◆ ImportBGRAQuantum()

◆ ImportBGROQuantum()

◆ ImportBGRQuantum()

◆ ImportBlackQuantum()

◆ ImportBlueQuantum()

◆ ImportCbYCrYQuantum()

◆ ImportCMYKAQuantum()

◆ ImportCMYKOQuantum()

◆ ImportCMYKQuantum()

◆ ImportGrayAlphaQuantum()

◆ ImportGrayQuantum()

◆ ImportGreenQuantum()

◆ ImportIndexAlphaQuantum()

◆ ImportIndexQuantum()

◆ ImportOpacityQuantum()

◆ ImportQuantumPixels()

MagickExport size_t ImportQuantumPixels ( const Image image,
CacheView image_view,
QuantumInfo quantum_info,
const QuantumType  quantum_type,
const unsigned char *magick_restrict  pixels,
ExceptionInfo exception 
)

Definition at line 4092 of file quantum-import.c.

References _QuantumInfo::alpha_type, AlphaPixelChannel, AlphaQuantum, BGRAQuantum, BGROQuantum, BGRQuantum, BlackQuantum, BlueQuantum, CbYCrAQuantum, CbYCrQuantum, CbYCrYQuantum, ClampToQuantum(), CMYKAQuantum, CMYKOQuantum, CMYKQuantum, CyanQuantum, _Image::debug, DisassociatedQuantumAlpha, _Image::filename, GetAuthenticPixelQueue(), GetCacheViewAuthenticPixelQueue(), GetCacheViewExtent(), GetImageExtent(), GetMagickModule, GetPixelAlpha(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelGreen(), GetPixelRed(), GetPixelWriteMask(), GetQuantumExtent(), GetQuantumPixels(), GrayAlphaQuantum, GrayQuantum, GreenQuantum, ImportAlphaQuantum(), ImportBGRAQuantum(), ImportBGROQuantum(), ImportBGRQuantum(), ImportBlackQuantum(), ImportBlueQuantum(), ImportCbYCrYQuantum(), ImportCMYKAQuantum(), ImportCMYKOQuantum(), ImportCMYKQuantum(), ImportGrayAlphaQuantum(), ImportGrayQuantum(), ImportGreenQuantum(), ImportIndexAlphaQuantum(), ImportIndexQuantum(), ImportOpacityQuantum(), ImportRedQuantum(), ImportRGBAQuantum(), ImportRGBOQuantum(), ImportRGBQuantum(), IndexAlphaQuantum, IndexQuantum, LogMagickEvent(), MagentaQuantum, magick_restrict, MagickCoreSignature, MagickFalse, OpacityQuantum, PerceptibleReciprocal(), QuantumRange, QuantumScale, RedQuantum, ResetQuantumState(), RGBAQuantum, RGBOQuantum, RGBQuantum, SetPixelGreen(), SetPixelRed(), _QuantumInfo::signature, _Image::signature, TraceEvent, UpdatePixelTrait, and YellowQuantum.

◆ ImportRedQuantum()

◆ ImportRGBAQuantum()

◆ ImportRGBOQuantum()

◆ ImportRGBQuantum()

◆ PushColormapIndex()

static Quantum PushColormapIndex ( const Image image,
const size_t  index,
MagickBooleanType range_exception 
)
inlinestatic

Definition at line 114 of file quantum-import.c.

References MagickTrue.

Referenced by ImportIndexAlphaQuantum(), and ImportIndexQuantum().

◆ PushDoublePixel()

◆ PushQuantumFloatPixel()

◆ PushQuantumLongPixel()

static const unsigned char* PushQuantumLongPixel ( QuantumInfo quantum_info,
const unsigned char *magick_restrict  pixels,
unsigned int *  quantum 
)
inlinestatic

◆ PushQuantumPixel()