MagickWand 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/magick-wand-private.h"
#include "MagickWand/pixel-wand-private.h"
#include "MagickWand/wand.h"
Go to the source code of this file.
Data Structures | |
struct | _PixelWand |
Macros | |
#define | PixelWandId "PixelWand" |
#define PixelWandId "PixelWand" |
Definition at line 58 of file pixel-wand.c.
WandExport void ClearPixelWand | ( | PixelWand * | wand | ) |
Definition at line 109 of file pixel-wand.c.
References _PixelWand::debug, _PixelWand::exception, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport PixelWand * ClonePixelWand | ( | const PixelWand * | wand | ) |
Definition at line 142 of file pixel-wand.c.
References AcquireWandId(), _PixelWand::count, _PixelWand::debug, _PixelWand::exception, _PixelWand::id, MagickPathExtent, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, PixelWandId, and _PixelWand::signature.
Referenced by ClonePixelWands().
WandExport PixelWand ** ClonePixelWands | ( | const PixelWand ** | wands, |
const size_t | number_wands | ||
) |
Definition at line 192 of file pixel-wand.c.
References ClonePixelWand().
Referenced by ClonePixelIterator(), and CloneWandView().
WandExport PixelWand * DestroyPixelWand | ( | PixelWand * | wand | ) |
Definition at line 230 of file pixel-wand.c.
References _PixelWand::debug, _PixelWand::exception, _PixelWand::id, MagickWandSignature, _PixelWand::name, RelinquishWandId(), and _PixelWand::signature.
Referenced by DestroyPixelWands(), and MagickMontageImage().
WandExport PixelWand ** DestroyPixelWands | ( | PixelWand ** | wand, |
const size_t | number_wands | ||
) |
Definition at line 269 of file pixel-wand.c.
References DestroyPixelWand(), and MagickWandSignature.
Referenced by ClearPixelIterator(), DestroyPixelIterator(), and DestroyPixelsTLS().
WandExport MagickBooleanType IsPixelWand | ( | const PixelWand * | wand | ) |
Definition at line 353 of file pixel-wand.c.
References MagickWandSignature, _PixelWand::name, PixelWandId, and _PixelWand::signature.
WandExport MagickBooleanType IsPixelWandSimilar | ( | PixelWand * | p, |
PixelWand * | q, | ||
const double | fuzz | ||
) |
Definition at line 315 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport PixelWand * NewPixelWand | ( | void | ) |
Definition at line 382 of file pixel-wand.c.
References AcquireWandId(), CheckMagickCoreCompatibility(), _PixelWand::debug, _PixelWand::exception, _PixelWand::id, MagickPathExtent, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, PixelWandId, and _PixelWand::signature.
Referenced by MagickGetBackgroundColor(), MagickMontageImage(), and NewPixelWands().
WandExport PixelWand ** NewPixelWands | ( | const size_t | number_wands | ) |
Definition at line 424 of file pixel-wand.c.
References NewPixelWand().
Referenced by AcquirePixelsTLS(), ClearPixelIterator(), MagickGetImageHistogram(), NewPixelIterator(), and NewPixelRegionIterator().
WandExport MagickBooleanType PixelClearException | ( | PixelWand * | wand | ) |
Definition at line 461 of file pixel-wand.c.
References _PixelWand::debug, _PixelWand::exception, MagickWandSignature, _PixelWand::name, and _PixelWand::signature.
WandExport double PixelGetAlpha | ( | const PixelWand * | wand | ) |
Definition at line 493 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetAlphaQuantum | ( | const PixelWand * | wand | ) |
Definition at line 524 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickBlackThresholdImage(), MagickColorizeImage(), MagickTintImage(), and MagickWhiteThresholdImage().
WandExport double PixelGetBlack | ( | const PixelWand * | wand | ) |
Definition at line 555 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetBlackQuantum | ( | const PixelWand * | wand | ) |
Definition at line 586 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickColorizeImage(), and MagickTintImage().
WandExport double PixelGetBlue | ( | const PixelWand * | wand | ) |
Definition at line 617 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetBlueQuantum | ( | const PixelWand * | wand | ) |
Definition at line 648 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickBlackThresholdImage(), MagickColorizeImage(), MagickTintImage(), and MagickWhiteThresholdImage().
WandExport char * PixelGetColorAsNormalizedString | ( | const PixelWand * | wand | ) |
Definition at line 720 of file pixel-wand.c.
References _PixelWand::debug, MagickPathExtent, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport char * PixelGetColorAsString | ( | const PixelWand * | wand | ) |
Definition at line 679 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport size_t PixelGetColorCount | ( | const PixelWand * | wand | ) |
Definition at line 763 of file pixel-wand.c.
References _PixelWand::count, _PixelWand::debug, MagickWandSignature, _PixelWand::name, and _PixelWand::signature.
WandExport double PixelGetCyan | ( | const PixelWand * | wand | ) |
Definition at line 794 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetCyanQuantum | ( | const PixelWand * | wand | ) |
Definition at line 825 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickTintImage().
WandExport char * PixelGetException | ( | const PixelWand * | wand, |
ExceptionType * | severity | ||
) |
Definition at line 859 of file pixel-wand.c.
References _PixelWand::debug, _PixelWand::exception, MagickPathExtent, MagickWandSignature, _PixelWand::name, _PixelWand::signature, and ThrowWandFatalException.
WandExport ExceptionType PixelGetExceptionType | ( | const PixelWand * | wand | ) |
Definition at line 914 of file pixel-wand.c.
References _PixelWand::debug, _PixelWand::exception, MagickWandSignature, _PixelWand::name, and _PixelWand::signature.
WandExport double PixelGetFuzz | ( | const PixelWand * | wand | ) |
Definition at line 945 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport double PixelGetGreen | ( | const PixelWand * | wand | ) |
Definition at line 976 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetGreenQuantum | ( | const PixelWand * | wand | ) |
Definition at line 1007 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickBlackThresholdImage(), MagickColorizeImage(), MagickTintImage(), and MagickWhiteThresholdImage().
WandExport void PixelGetHSL | ( | const PixelWand * | wand, |
double * | hue, | ||
double * | saturation, | ||
double * | lightness | ||
) |
Definition at line 1042 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetIndex | ( | const PixelWand * | wand | ) |
Definition at line 1076 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport double PixelGetMagenta | ( | const PixelWand * | wand | ) |
Definition at line 1107 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetMagentaQuantum | ( | const PixelWand * | wand | ) |
Definition at line 1138 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickTintImage().
WandExport void PixelGetMagickColor | ( | const PixelWand * | wand, |
PixelInfo * | color | ||
) |
Definition at line 1171 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickColorThresholdImage(), MagickFloodfillPaintImage(), MagickLevelImageColors(), MagickNewImage(), MagickOpaquePaintImage(), MagickSetImageColor(), and MagickTransparentPaintImage().
WandExport PixelInfo PixelGetPixel | ( | const PixelWand * | wand | ) |
Definition at line 1204 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickColorizeImage(), and MagickTintImage().
WandExport void PixelGetQuantumPacket | ( | const PixelWand * | wand, |
PixelInfo * | packet | ||
) |
Definition at line 1237 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by DrawSetBorderColor(), DrawSetFillColor(), DrawSetStrokeColor(), DrawSetTextUnderColor(), MagickBorderImage(), MagickFloodfillPaintImage(), MagickFrameImage(), MagickMontageImage(), MagickRotateImage(), MagickSetBackgroundColor(), MagickSetImageAlphaColor(), MagickSetImageBackgroundColor(), MagickSetImageBorderColor(), MagickSetImageColormapColor(), MagickSetImageMatteColor(), and MagickShearImage().
WandExport void PixelGetQuantumPixel | ( | const Image * | image, |
const PixelWand * | wand, | ||
Quantum * | pixel | ||
) |
Definition at line 1293 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by DuplexTransferWandViewIterator(), MagickSetImagePixelColor(), PixelSyncIterator(), SetWandViewIterator(), TransferWandViewIterator(), and UpdateWandViewIterator().
WandExport double PixelGetRed | ( | const PixelWand * | wand | ) |
Definition at line 1343 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetRedQuantum | ( | const PixelWand * | wand | ) |
Definition at line 1374 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickBlackThresholdImage(), MagickColorizeImage(), MagickTintImage(), and MagickWhiteThresholdImage().
WandExport double PixelGetYellow | ( | const PixelWand * | wand | ) |
Definition at line 1405 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport Quantum PixelGetYellowQuantum | ( | const PixelWand * | wand | ) |
Definition at line 1436 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by MagickTintImage().
WandExport void PixelSetAlpha | ( | PixelWand * | wand, |
const double | alpha | ||
) |
Definition at line 1470 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetAlphaQuantum | ( | PixelWand * | wand, |
const Quantum | alpha | ||
) |
Definition at line 1503 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetBlack | ( | PixelWand * | wand, |
const double | black | ||
) |
Definition at line 1536 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetBlackQuantum | ( | PixelWand * | wand, |
const Quantum | black | ||
) |
Definition at line 1569 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetBlue | ( | PixelWand * | wand, |
const double | blue | ||
) |
Definition at line 1602 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetBlueQuantum | ( | PixelWand * | wand, |
const Quantum | blue | ||
) |
Definition at line 1635 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport MagickBooleanType PixelSetColor | ( | PixelWand * | wand, |
const char * | color | ||
) |
Definition at line 1669 of file pixel-wand.c.
References _PixelWand::debug, _PixelWand::exception, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetColorCount | ( | PixelWand * | wand, |
const size_t | count | ||
) |
Definition at line 1711 of file pixel-wand.c.
References _PixelWand::count, _PixelWand::debug, MagickWandSignature, _PixelWand::name, and _PixelWand::signature.
Referenced by MagickGetImageHistogram().
WandExport void PixelSetColorFromWand | ( | PixelWand * | wand, |
const PixelWand * | color | ||
) |
Definition at line 1744 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetCyan | ( | PixelWand * | wand, |
const double | cyan | ||
) |
Definition at line 1778 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetCyanQuantum | ( | PixelWand * | wand, |
const Quantum | cyan | ||
) |
Definition at line 1811 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetFuzz | ( | PixelWand * | wand, |
const double | fuzz | ||
) |
Definition at line 1844 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetGreen | ( | PixelWand * | wand, |
const double | green | ||
) |
Definition at line 1877 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetGreenQuantum | ( | PixelWand * | wand, |
const Quantum | green | ||
) |
Definition at line 1910 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetHSL | ( | PixelWand * | wand, |
const double | hue, | ||
const double | saturation, | ||
const double | lightness | ||
) |
Definition at line 1945 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetIndex | ( | PixelWand * | wand, |
const Quantum | index | ||
) |
Definition at line 1987 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetMagenta | ( | PixelWand * | wand, |
const double | magenta | ||
) |
Definition at line 2020 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetMagentaQuantum | ( | PixelWand * | wand, |
const Quantum | magenta | ||
) |
Definition at line 2054 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetPixelColor | ( | PixelWand * | wand, |
const PixelInfo * | color | ||
) |
Definition at line 2087 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by DrawGetBorderColor(), DrawGetFillColor(), DrawGetStrokeColor(), DrawGetTextUnderColor(), MagickGetBackgroundColor(), MagickGetImageAlphaColor(), MagickGetImageBackgroundColor(), MagickGetImageBorderColor(), MagickGetImageColormapColor(), MagickGetImageHistogram(), and MagickGetImageMatteColor().
WandExport void PixelSetQuantumPixel | ( | const Image * | image, |
const Quantum * | pixel, | ||
PixelWand * | wand | ||
) |
Definition at line 2122 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
Referenced by DuplexTransferWandViewIterator(), GetWandViewIterator(), MagickGetImagePixelColor(), PixelGetCurrentIteratorRow(), PixelGetNextIteratorRow(), PixelGetPreviousIteratorRow(), TransferWandViewIterator(), and UpdateWandViewIterator().
WandExport void PixelSetRed | ( | PixelWand * | wand, |
const double | red | ||
) |
Definition at line 2163 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetRedQuantum | ( | PixelWand * | wand, |
const Quantum | red | ||
) |
Definition at line 2196 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetYellow | ( | PixelWand * | wand, |
const double | yellow | ||
) |
Definition at line 2229 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.
WandExport void PixelSetYellowQuantum | ( | PixelWand * | wand, |
const Quantum | yellow | ||
) |
Definition at line 2262 of file pixel-wand.c.
References _PixelWand::debug, MagickWandSignature, _PixelWand::name, _PixelWand::pixel, and _PixelWand::signature.