MagickWand 6.9.11-60
Convert, Edit, Or Compose Bitmap Images
|
#include "wand/studio.h"
#include "wand/MagickWand.h"
#include "wand/magick-wand-private.h"
#include "wand/wand.h"
#include "magick/monitor-private.h"
#include "magick/thread-private.h"
Data Structures | |
struct | _PixelView |
Macros | |
#define | PixelViewId "PixelView" |
#define | DuplexTransferPixelViewTag "PixelView/DuplexTransfer" |
#define | GetPixelViewTag "PixelView/Get" |
#define | SetPixelViewTag "PixelView/Set" |
#define | TransferPixelViewTag "PixelView/Transfer" |
#define | UpdatePixelViewTag "PixelView/Update" |
Functions | |
WandExport DrawingWand * | DrawAllocateWand (const DrawInfo *draw_info, Image *image) |
static MagickWand * | CloneMagickWandFromImages (const MagickWand *wand, Image *images) |
WandExport MagickWand * | MagickAverageImages (MagickWand *wand) |
WandExport PixelView * | ClonePixelView (const PixelView *pixel_view) |
static PixelWand *** | DestroyPixelsThreadSet (PixelWand ***pixel_wands, const size_t number_wands, const size_t number_threads) |
WandExport PixelView * | DestroyPixelView (PixelView *pixel_view) |
WandExport MagickBooleanType | DuplexTransferPixelViewIterator (PixelView *source, PixelView *duplex, PixelView *destination, DuplexTransferPixelViewMethod transfer, void *context) |
WandExport char * | GetPixelViewException (const PixelView *pixel_view, ExceptionType *severity) |
WandExport size_t | GetPixelViewHeight (const PixelView *pixel_view) |
WandExport MagickBooleanType | GetPixelViewIterator (PixelView *source, GetPixelViewMethod get, void *context) |
WandExport PixelWand ** | GetPixelViewPixels (const PixelView *pixel_view) |
WandExport MagickWand * | GetPixelViewWand (const PixelView *pixel_view) |
WandExport size_t | GetPixelViewWidth (const PixelView *pixel_view) |
WandExport ssize_t | GetPixelViewX (const PixelView *pixel_view) |
WandExport ssize_t | GetPixelViewY (const PixelView *pixel_view) |
WandExport MagickBooleanType | IsPixelView (const PixelView *pixel_view) |
WandExport MagickBooleanType | MagickClipPathImage (MagickWand *wand, const char *pathname, const MagickBooleanType inside) |
WandExport double | DrawGetFillAlpha (const DrawingWand *wand) |
WandExport double | DrawGetStrokeAlpha (const DrawingWand *wand) |
WandExport DrawInfo * | DrawPeekGraphicWand (const DrawingWand *wand) |
WandExport void | DrawPopGraphicContext (DrawingWand *wand) |
WandExport void | DrawPushGraphicContext (DrawingWand *wand) |
WandExport void | DrawSetFillAlpha (DrawingWand *wand, const double fill_alpha) |
WandExport void | DrawSetStrokeAlpha (DrawingWand *wand, const double stroke_alpha) |
WandExport MagickBooleanType | MagickColorFloodfillImage (MagickWand *wand, const PixelWand *fill, const double fuzz, const PixelWand *bordercolor, const ssize_t x, const ssize_t y) |
WandExport char * | MagickDescribeImage (MagickWand *wand) |
WandExport MagickWand * | MagickFlattenImages (MagickWand *wand) |
WandExport char * | MagickGetImageAttribute (MagickWand *wand, const char *property) |
WandExport ssize_t | MagickGetImageIndex (MagickWand *wand) |
WandExport MagickBooleanType | MagickGetImageChannelExtrema (MagickWand *wand, const ChannelType channel, size_t *minima, size_t *maxima) |
WandExport MagickBooleanType | MagickGetImageExtrema (MagickWand *wand, size_t *minima, size_t *maxima) |
WandExport MagickBooleanType | MagickGetImageMatte (MagickWand *wand) |
WandExport MagickBooleanType | MagickGetImagePixels (MagickWand *wand, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, const char *map, const StorageType storage, void *pixels) |
WandExport MagickSizeType | MagickGetImageSize (MagickWand *wand) |
WandExport MagickBooleanType | MagickMapImage (MagickWand *wand, const MagickWand *map_wand, const MagickBooleanType dither) |
WandExport MagickBooleanType | MagickMatteFloodfillImage (MagickWand *wand, const double alpha, const double fuzz, const PixelWand *bordercolor, const ssize_t x, const ssize_t y) |
WandExport MagickBooleanType | MagickMedianFilterImage (MagickWand *wand, const double radius) |
WandExport MagickWand * | MagickMinimumImages (MagickWand *wand) |
WandExport MagickBooleanType | MagickModeImage (MagickWand *wand, const double radius) |
WandExport MagickWand * | MagickMosaicImages (MagickWand *wand) |
WandExport MagickBooleanType | MagickOpaqueImage (MagickWand *wand, const PixelWand *target, const PixelWand *fill, const double fuzz) |
WandExport MagickBooleanType | MagickPaintFloodfillImage (MagickWand *wand, const ChannelType channel, const PixelWand *fill, const double fuzz, const PixelWand *bordercolor, const ssize_t x, const ssize_t y) |
WandExport MagickBooleanType | MagickPaintOpaqueImage (MagickWand *wand, const PixelWand *target, const PixelWand *fill, const double fuzz) |
WandExport MagickBooleanType | MagickPaintOpaqueImageChannel (MagickWand *wand, const ChannelType channel, const PixelWand *target, const PixelWand *fill, const double fuzz) |
WandExport MagickBooleanType | MagickPaintTransparentImage (MagickWand *wand, const PixelWand *target, const double alpha, const double fuzz) |
WandExport MagickBooleanType | MagickRadialBlurImage (MagickWand *wand, const double angle) |
WandExport MagickBooleanType | MagickRadialBlurImageChannel (MagickWand *wand, const ChannelType channel, const double angle) |
WandExport MagickBooleanType | MagickRecolorImage (MagickWand *wand, const size_t order, const double *color_matrix) |
WandExport MagickBooleanType | MagickReduceNoiseImage (MagickWand *wand, const double radius) |
WandExport MagickWand * | MagickMaximumImages (MagickWand *wand) |
WandExport MagickBooleanType | MagickSetImageAttribute (MagickWand *wand, const char *property, const char *value) |
WandExport MagickBooleanType | MagickSetImageIndex (MagickWand *wand, const ssize_t index) |
WandExport MagickBooleanType | MagickSetImageOption (MagickWand *wand, const char *format, const char *key, const char *value) |
WandExport MagickBooleanType | MagickTransparentImage (MagickWand *wand, const PixelWand *target, const double alpha, const double fuzz) |
WandExport MagickWand * | MagickRegionOfInterestImage (MagickWand *wand, const size_t width, const size_t height, const ssize_t x, const ssize_t y) |
WandExport MagickBooleanType | MagickSetImagePixels (MagickWand *wand, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, const char *map, const StorageType storage, const void *pixels) |
WandExport unsigned char * | MagickWriteImageBlob (MagickWand *wand, size_t *length) |
static PixelWand *** | AcquirePixelsThreadSet (const size_t number_wands, const size_t number_threads) |
WandExport PixelView * | NewPixelView (MagickWand *wand) |
WandExport PixelView * | NewPixelViewRegion (MagickWand *wand, const ssize_t x, const ssize_t y, const size_t width, const size_t height) |
WandExport PixelWand ** | PixelGetNextRow (PixelIterator *iterator) |
WandExport char * | PixelIteratorGetException (const PixelIterator *iterator, ExceptionType *severity) |
WandExport MagickBooleanType | SetPixelViewIterator (PixelView *destination, SetPixelViewMethod set, void *context) |
WandExport MagickBooleanType | TransferPixelViewIterator (PixelView *source, PixelView *destination, TransferPixelViewMethod transfer, void *context) |
WandExport MagickBooleanType | UpdatePixelViewIterator (PixelView *source, UpdatePixelViewMethod update, void *context) |
#define DuplexTransferPixelViewTag "PixelView/DuplexTransfer" |
#define GetPixelViewTag "PixelView/Get" |
#define PixelViewId "PixelView" |
#define SetPixelViewTag "PixelView/Set" |
#define TransferPixelViewTag "PixelView/Transfer" |
#define UpdatePixelViewTag "PixelView/Update" |
|
static |
References DestroyPixelsThreadSet(), and NewPixelWands().
Referenced by NewPixelView(), and NewPixelViewRegion().
|
static |
References AcquireWandId(), _MagickWand::debug, _MagickWand::exception, _MagickWand::id, _MagickWand::image_info, _MagickWand::images, MagickWandId, MaxTextExtent, _MagickWand::name, _MagickWand::quantize_info, _MagickWand::signature, ThrowWandFatalException, and WandSignature.
Referenced by MagickAverageImages(), MagickFlattenImages(), MagickMaximumImages(), MagickMinimumImages(), and MagickMosaicImages().
WandExport PixelView * ClonePixelView | ( | const PixelView * | pixel_view | ) |
References AcquireWandId(), ClonePixelWands(), _PixelView::debug, _PixelView::exception, _PixelView::id, MaxTextExtent, _PixelView::name, _PixelView::number_threads, _PixelView::pixel_wands, PixelViewId, _PixelView::region, _PixelView::signature, ThrowWandFatalException, _PixelView::view, and WandSignature.
|
static |
References DestroyPixelWands().
Referenced by AcquirePixelsThreadSet(), and DestroyPixelView().
WandExport PixelView * DestroyPixelView | ( | PixelView * | pixel_view | ) |
WandExport DrawingWand * DrawAllocateWand | ( | const DrawInfo * | draw_info, |
Image * | image | ||
) |
References AcquireDrawingWand().
WandExport double DrawGetFillAlpha | ( | const DrawingWand * | wand | ) |
References DrawGetFillOpacity().
WandExport double DrawGetStrokeAlpha | ( | const DrawingWand * | wand | ) |
References DrawGetStrokeOpacity().
WandExport DrawInfo * DrawPeekGraphicWand | ( | const DrawingWand * | wand | ) |
References PeekDrawingWand().
WandExport void DrawPopGraphicContext | ( | DrawingWand * | wand | ) |
References PopDrawingWand().
WandExport void DrawPushGraphicContext | ( | DrawingWand * | wand | ) |
References PushDrawingWand().
WandExport void DrawSetFillAlpha | ( | DrawingWand * | wand, |
const double | fill_alpha | ||
) |
References DrawSetFillOpacity().
WandExport void DrawSetStrokeAlpha | ( | DrawingWand * | wand, |
const double | stroke_alpha | ||
) |
References DrawSetStrokeOpacity().
WandExport MagickBooleanType DuplexTransferPixelViewIterator | ( | PixelView * | source, |
PixelView * | duplex, | ||
PixelView * | destination, | ||
DuplexTransferPixelViewMethod | transfer, | ||
void * | context | ||
) |
References DuplexTransferPixelViewTag, _PixelView::exception, _MagickWand::images, magick_restrict, _PixelView::pixel_wands, PixelGetBlackQuantum(), PixelGetQuantumColor(), PixelSetBlackQuantum(), PixelSetIndex(), PixelSetQuantumColor(), _PixelView::region, _PixelView::signature, _PixelView::view, _PixelView::wand, and WandSignature.
WandExport char * GetPixelViewException | ( | const PixelView * | pixel_view, |
ExceptionType * | severity | ||
) |
WandExport size_t GetPixelViewHeight | ( | const PixelView * | pixel_view | ) |
References _PixelView::region, _PixelView::signature, and WandSignature.
WandExport MagickBooleanType GetPixelViewIterator | ( | PixelView * | source, |
GetPixelViewMethod | get, | ||
void * | context | ||
) |
WandExport PixelWand ** GetPixelViewPixels | ( | const PixelView * | pixel_view | ) |
References _PixelView::pixel_wands, _PixelView::signature, and WandSignature.
WandExport MagickWand * GetPixelViewWand | ( | const PixelView * | pixel_view | ) |
References _PixelView::signature, _PixelView::wand, and WandSignature.
WandExport size_t GetPixelViewWidth | ( | const PixelView * | pixel_view | ) |
References _PixelView::region, _PixelView::signature, and WandSignature.
WandExport ssize_t GetPixelViewX | ( | const PixelView * | pixel_view | ) |
References _PixelView::region, _PixelView::signature, and WandSignature.
WandExport ssize_t GetPixelViewY | ( | const PixelView * | pixel_view | ) |
References _PixelView::region, _PixelView::signature, and WandSignature.
WandExport MagickBooleanType IsPixelView | ( | const PixelView * | pixel_view | ) |
References _PixelView::name, PixelViewId, _PixelView::signature, and WandSignature.
WandExport MagickWand * MagickAverageImages | ( | MagickWand * | wand | ) |
WandExport MagickBooleanType MagickClipPathImage | ( | MagickWand * | wand, |
const char * | pathname, | ||
const MagickBooleanType | inside | ||
) |
References MagickClipImagePath().
WandExport MagickBooleanType MagickColorFloodfillImage | ( | MagickWand * | wand, |
const PixelWand * | fill, | ||
const double | fuzz, | ||
const PixelWand * | bordercolor, | ||
const ssize_t | x, | ||
const ssize_t | y | ||
) |
WandExport char * MagickDescribeImage | ( | MagickWand * | wand | ) |
References MagickIdentifyImage().
WandExport MagickWand * MagickFlattenImages | ( | MagickWand * | wand | ) |
WandExport char * MagickGetImageAttribute | ( | MagickWand * | wand, |
const char * | property | ||
) |
References MagickGetImageProperty().
WandExport MagickBooleanType MagickGetImageChannelExtrema | ( | MagickWand * | wand, |
const ChannelType | channel, | ||
size_t * | minima, | ||
size_t * | maxima | ||
) |
WandExport MagickBooleanType MagickGetImageExtrema | ( | MagickWand * | wand, |
size_t * | minima, | ||
size_t * | maxima | ||
) |
WandExport ssize_t MagickGetImageIndex | ( | MagickWand * | wand | ) |
References MagickGetIteratorIndex().
WandExport MagickBooleanType MagickGetImageMatte | ( | MagickWand * | wand | ) |
WandExport MagickBooleanType MagickGetImagePixels | ( | MagickWand * | wand, |
const ssize_t | x, | ||
const ssize_t | y, | ||
const size_t | columns, | ||
const size_t | rows, | ||
const char * | map, | ||
const StorageType | storage, | ||
void * | pixels | ||
) |
References MagickExportImagePixels().
WandExport MagickSizeType MagickGetImageSize | ( | MagickWand * | wand | ) |
WandExport MagickBooleanType MagickMapImage | ( | MagickWand * | wand, |
const MagickWand * | map_wand, | ||
const MagickBooleanType | dither | ||
) |
WandExport MagickBooleanType MagickMatteFloodfillImage | ( | MagickWand * | wand, |
const double | alpha, | ||
const double | fuzz, | ||
const PixelWand * | bordercolor, | ||
const ssize_t | x, | ||
const ssize_t | y | ||
) |
WandExport MagickWand * MagickMaximumImages | ( | MagickWand * | wand | ) |
WandExport MagickBooleanType MagickMedianFilterImage | ( | MagickWand * | wand, |
const double | radius | ||
) |
WandExport MagickWand * MagickMinimumImages | ( | MagickWand * | wand | ) |
WandExport MagickBooleanType MagickModeImage | ( | MagickWand * | wand, |
const double | radius | ||
) |
WandExport MagickWand * MagickMosaicImages | ( | MagickWand * | wand | ) |
WandExport MagickBooleanType MagickOpaqueImage | ( | MagickWand * | wand, |
const PixelWand * | target, | ||
const PixelWand * | fill, | ||
const double | fuzz | ||
) |
References MagickPaintOpaqueImage().
WandExport MagickBooleanType MagickPaintFloodfillImage | ( | MagickWand * | wand, |
const ChannelType | channel, | ||
const PixelWand * | fill, | ||
const double | fuzz, | ||
const PixelWand * | bordercolor, | ||
const ssize_t | x, | ||
const ssize_t | y | ||
) |
References MagickFloodfillPaintImage().
WandExport MagickBooleanType MagickPaintOpaqueImage | ( | MagickWand * | wand, |
const PixelWand * | target, | ||
const PixelWand * | fill, | ||
const double | fuzz | ||
) |
References MagickPaintOpaqueImageChannel().
Referenced by MagickOpaqueImage().
WandExport MagickBooleanType MagickPaintOpaqueImageChannel | ( | MagickWand * | wand, |
const ChannelType | channel, | ||
const PixelWand * | target, | ||
const PixelWand * | fill, | ||
const double | fuzz | ||
) |
References MagickOpaquePaintImageChannel().
Referenced by MagickPaintOpaqueImage().
WandExport MagickBooleanType MagickPaintTransparentImage | ( | MagickWand * | wand, |
const PixelWand * | target, | ||
const double | alpha, | ||
const double | fuzz | ||
) |
References MagickTransparentPaintImage().
Referenced by MagickTransparentImage().
WandExport MagickBooleanType MagickRadialBlurImage | ( | MagickWand * | wand, |
const double | angle | ||
) |
References MagickRotationalBlurImage().
WandExport MagickBooleanType MagickRadialBlurImageChannel | ( | MagickWand * | wand, |
const ChannelType | channel, | ||
const double | angle | ||
) |
References MagickRotationalBlurImageChannel().
WandExport MagickBooleanType MagickRecolorImage | ( | MagickWand * | wand, |
const size_t | order, | ||
const double * | color_matrix | ||
) |
WandExport MagickBooleanType MagickReduceNoiseImage | ( | MagickWand * | wand, |
const double | radius | ||
) |
WandExport MagickWand * MagickRegionOfInterestImage | ( | MagickWand * | wand, |
const size_t | width, | ||
const size_t | height, | ||
const ssize_t | x, | ||
const ssize_t | y | ||
) |
References MagickGetImageRegion().
WandExport MagickBooleanType MagickSetImageAttribute | ( | MagickWand * | wand, |
const char * | property, | ||
const char * | value | ||
) |
References _MagickWand::images.
WandExport MagickBooleanType MagickSetImageIndex | ( | MagickWand * | wand, |
const ssize_t | index | ||
) |
References MagickSetIteratorIndex().
WandExport MagickBooleanType MagickSetImageOption | ( | MagickWand * | wand, |
const char * | format, | ||
const char * | key, | ||
const char * | value | ||
) |
WandExport MagickBooleanType MagickSetImagePixels | ( | MagickWand * | wand, |
const ssize_t | x, | ||
const ssize_t | y, | ||
const size_t | columns, | ||
const size_t | rows, | ||
const char * | map, | ||
const StorageType | storage, | ||
const void * | pixels | ||
) |
References MagickImportImagePixels().
WandExport MagickBooleanType MagickTransparentImage | ( | MagickWand * | wand, |
const PixelWand * | target, | ||
const double | alpha, | ||
const double | fuzz | ||
) |
References MagickPaintTransparentImage().
WandExport unsigned char * MagickWriteImageBlob | ( | MagickWand * | wand, |
size_t * | length | ||
) |
References MagickGetImageBlob().
WandExport PixelView * NewPixelView | ( | MagickWand * | wand | ) |
References AcquirePixelsThreadSet(), AcquireWandId(), _PixelView::debug, _PixelView::exception, _PixelView::id, _MagickWand::images, MaxTextExtent, _PixelView::name, _PixelView::number_threads, _PixelView::pixel_wands, PixelViewId, _PixelView::region, _PixelView::signature, _MagickWand::signature, ThrowWandFatalException, _PixelView::view, _PixelView::wand, and WandSignature.
WandExport PixelView * NewPixelViewRegion | ( | MagickWand * | wand, |
const ssize_t | x, | ||
const ssize_t | y, | ||
const size_t | width, | ||
const size_t | height | ||
) |
References AcquirePixelsThreadSet(), AcquireWandId(), _PixelView::debug, _PixelView::exception, _PixelView::id, _MagickWand::images, MaxTextExtent, _PixelView::name, _PixelView::number_threads, _PixelView::pixel_wands, PixelViewId, _PixelView::region, _PixelView::signature, _MagickWand::signature, ThrowWandFatalException, _PixelView::view, _PixelView::wand, and WandSignature.
WandExport PixelWand ** PixelGetNextRow | ( | PixelIterator * | iterator | ) |
References PixelGetNextIteratorRow().
WandExport char * PixelIteratorGetException | ( | const PixelIterator * | iterator, |
ExceptionType * | severity | ||
) |
References PixelGetIteratorException().
WandExport MagickBooleanType SetPixelViewIterator | ( | PixelView * | destination, |
SetPixelViewMethod | set, | ||
void * | context | ||
) |
WandExport MagickBooleanType TransferPixelViewIterator | ( | PixelView * | source, |
PixelView * | destination, | ||
TransferPixelViewMethod | transfer, | ||
void * | context | ||
) |
References _PixelView::exception, _MagickWand::images, magick_restrict, _PixelView::pixel_wands, PixelGetBlackQuantum(), PixelGetQuantumColor(), PixelSetBlackQuantum(), PixelSetIndex(), PixelSetQuantumColor(), _PixelView::region, _PixelView::signature, TransferPixelViewTag, _PixelView::view, _PixelView::wand, and WandSignature.
WandExport MagickBooleanType UpdatePixelViewIterator | ( | PixelView * | source, |
UpdatePixelViewMethod | update, | ||
void * | context | ||
) |
References _PixelView::exception, _MagickWand::images, magick_restrict, _PixelView::pixel_wands, PixelGetBlackQuantum(), PixelGetQuantumColor(), PixelSetBlackQuantum(), PixelSetQuantumColor(), _PixelView::region, _PixelView::signature, UpdatePixelViewTag, _PixelView::view, _PixelView::wand, and WandSignature.