Wand pixel access interfaces
Contents
PixelWand *ClonePixelWand( const PixelWand *wand );
ClonePixelWand() creates an exact copy of a PixelWand. PixelWand may not be a null pointer.
The format of the ClonePixelWand method is:
PixelWand *ClonePixelWand( const PixelWand *wand );
A description of each parameter follows:
The pixel wand to clone.
PixelWand ** ClonePixelWands( const PixelWand ** wands, const unsigned long number_wands );
ClonePixelWands creates a deep-copy an array of PixelWands.
The format of the ClonePixelWands method is:
PixelWand ** ClonePixelWands( const PixelWand ** wands, const unsigned long number_wands );
The pixel wands to clone.
The number of wands in the array
unsigned int DestroyPixelWand( PixelWand *wand );
DestroyPixelWand() deallocates resources associated with a PixelWand.
The format of the DestroyPixelWand method is:
unsigned int DestroyPixelWand( PixelWand *wand );
A description of each parameter follows:
The pixel wand.
PixelWand NewPixelWand( void );
NewPixelWand() returns a new pixel wand.
The format of the NewPixelWand method is:
PixelWand NewPixelWand( void );
PixelWand NewPixelWands( const unsigned long number_wands );
NewPixelWands() returns an array of pixel wands.
The format of the NewPixelWand method is:
PixelWand NewPixelWands( const unsigned long number_wands );
A description of each parameter follows:
The number of wands.
unsigned int PixelGetException( PixelWand *wand, char ** description );
PixelGetException() returns the severity, reason, and description of any error that occurs when using the pixel wand methods.
The format of the PixelGetException method is:
unsigned int PixelGetException( PixelWand *wand, char ** description );
A description of each parameter follows:
The pixel wand.
A description of the error.
double PixelGetBlack( const PixelWand *wand );
PixelGetBlack() returns the normalized black color of the pixel wand.
The format of the PixelGetBlack method is:
double PixelGetBlack( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
Quantum PixelGetBlackQuantum( const PixelWand *wand );
PixelGetBlackQuantum() returns the black color of the pixel wand. The color is in the range of [0..MaxRGB]
The format of the PixelGetBlackQuantum method is:
Quantum PixelGetBlackQuantum( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
double PixelGetBlue( const PixelWand *wand );
PixelGetBlue(const) returns the normalized blue color of the pixel wand.
The format of the PixelGetBlue method is:
double PixelGetBlue( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
Quantum PixelGetBlueQuantum( const PixelWand *wand );
PixelGetBlueQuantum(const ) returns the blue color of the pixel wand. The color is in the range of [0..MaxRGB]
The format of the PixelGetBlueQuantum method is:
Quantum PixelGetBlueQuantum( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
char *PixelGetColorAsString( PixelWand *wand );
PixelGetColorAsString() gets the color of the pixel wand.
The format of the PixelGetColorAsString method is:
char *PixelGetColorAsString( PixelWand *wand );
A description of each parameter follows:
The pixel wand.
unsigned long PixelGetColorCount( const PixelWand *wand );
PixelGetColorCount() returns the color count associated with this color.
The format of the PixelGetColorCount method is:
unsigned long PixelGetColorCount( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
double PixelGetCyan( const PixelWand *wand );
PixelGetCyan() returns the normalized cyan color of the pixel wand.
The format of the PixelGetCyan method is:
double PixelGetCyan( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
Quantum PixelGetCyanQuantum( const PixelWand *wand );
PixelGetCyanQuantum() returns the cyan color of the pixel wand. The color is in the range of [0..MaxRGB]
The format of the PixelGetCyanQuantum method is:
Quantum PixelGetCyanQuantum( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
double PixelGetGreen( const PixelWand *wand );
PixelGetGreen(const ) returns the normalized green color of the pixel wand.
The format of the PixelGetGreen method is:
double PixelGetGreen( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
Quantum PixelGetGreenQuantum( const PixelWand *wand );
PixelGetGreenQuantum(const ) returns the green color of the pixel wand. The color is in the range of [0..MaxRGB]
The format of the PixelGetGreenQuantum method is:
Quantum PixelGetGreenQuantum( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
double PixelGetMagenta( const PixelWand *wand );
PixelGetMagenta() returns the normalized magenta color of the pixel wand.
The format of the PixelGetMagenta method is:
double PixelGetMagenta( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
Quantum PixelGetMagentaQuantum( const PixelWand *wand );
PixelGetMagentaQuantum() returns the magenta color of the pixel wand. The color is in the range of [0..MaxRGB]
The format of the PixelGetMagentaQuantum method is:
Quantum PixelGetMagentaQuantum( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
double PixelGetOpacity( const PixelWand *wand );
PixelGetOpacity(const ) returns the normalized opacity color of the pixel wand.
The format of the PixelGetOpacity method is:
double PixelGetOpacity( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
Quantum PixelGetOpacityQuantum( const PixelWand *wand );
PixelGetOpacityQuantum(const ) returns the opacity color of the pixel wand. The color is in the range of [0..MaxRGB]
The format of the PixelGetOpacityQuantum method is:
Quantum PixelGetOpacityQuantum( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
double PixelGetRed( const PixelWand *wand );
PixelGetRed(const ) returns the normalized red color of the pixel wand.
The format of the PixelGetRed method is:
double PixelGetRed( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
Quantum PixelGetRedQuantum( const PixelWand *wand );
PixelGetRedQuantum(const ) returns the red color of the pixel wand. The color is in the range of [0..MaxRGB]
The format of the PixelGetRedQuantum method is:
Quantum PixelGetRedQuantum( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
double PixelGetYellow( const PixelWand *wand );
PixelGetYellow() returns the normalized yellow color of the pixel wand.
The format of the PixelGetYellow method is:
double PixelGetYellow( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
Quantum PixelGetYellowQuantum( const PixelWand *wand );
PixelGetYellowQuantum() returns the yellow color of the pixel wand. The color is in the range of [0..MaxRGB]
The format of the PixelGetYellowQuantum method is:
Quantum PixelGetYellowQuantum( const PixelWand *wand );
A description of each parameter follows:
The pixel wand.
unsigned int PixelSetBlack( PixelWand *wand, const double black );
PixelSetBlack() sets the normalized black color of the pixel wand.
The format of the PixelSetBlack method is:
unsigned int PixelSetBlack( PixelWand *wand, const double black );
A description of each parameter follows:
The pixel wand.
The black color.
unsigned int PixelSetBlackQuantum( PixelWand *wand, const Quantum black );
PixelSetBlackQuantum() sets the black color of the pixel wand. The color must be in the range of [0..MaxRGB]
The format of the PixelSetBlackQuantum method is:
unsigned int PixelSetBlackQuantum( PixelWand *wand, const Quantum black );
The pixel wand.
The black color.
unsigned int PixelSetBlue( PixelWand *wand, const double blue );
PixelSetBlue() sets the normalized blue color of the pixel wand.
The format of the PixelSetBlue method is:
unsigned int PixelSetBlue( PixelWand *wand, const double blue );
A description of each parameter follows:
The pixel wand.
The blue color.
unsigned int PixelSetBlueQuantum( PixelWand *wand, const Quantum blue );
PixelSetBlueQuantum() sets the blue color of the pixel wand. The color must be in the range of [0..MaxRGB]
The format of the PixelSetBlueQuantum method is:
unsigned int PixelSetBlueQuantum( PixelWand *wand, const Quantum blue );
A description of each parameter follows:
The pixel wand.
The blue color.
unsigned int PixelSetColor( PixelWand *wand, const char *color );
PixelSetColor() sets the color of the pixel wand with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", etc.).
The format of the PixelSetColor method is:
unsigned int PixelSetColor( PixelWand *wand, const char *color );
A description of each parameter follows:
The pixel wand.
The pixel wand color.
unsigned int PixelSetColorCount( PixelWand *wand, const unsigned long count );
PixelSetColorCount() sets the color count of the pixel wand.
The format of the PixelSetColorCount method is:
unsigned int PixelSetColorCount( PixelWand *wand, const unsigned long count );
The pixel wand.
The number of this particular color.
unsigned int PixelSetCyan( PixelWand *wand, const double cyan );
PixelSetCyan() sets the normalized cyan color of the pixel wand.
The format of the PixelSetCyan method is:
unsigned int PixelSetCyan( PixelWand *wand, const double cyan );
A description of each parameter follows:
The pixel wand.
The cyan color.
unsigned int PixelSetCyanQuantum( PixelWand *wand, const Quantum cyan );
PixelSetCyanQuantum() sets the cyan color of the pixel wand. The color must be in the range of [0..MaxRGB]
The format of the PixelSetCyanQuantum method is:
unsigned int PixelSetCyanQuantum( PixelWand *wand, const Quantum cyan );
A description of each parameter follows:
The pixel wand.
The cyan color.
unsigned int PixelSetGreen( PixelWand *wand, const double green );
PixelSetGreen() sets the normalized green color of the pixel wand.
The format of the PixelSetGreen method is:
unsigned int PixelSetGreen( PixelWand *wand, const double green );
A description of each parameter follows:
The pixel wand.
The green color.
unsigned int PixelSetGreenQuantum( PixelWand *wand, const Quantum green );
PixelSetGreenQuantum() sets the green color of the pixel wand. The color must be in the range of [0..MaxRGB]
The format of the PixelSetGreenQuantum method is:
unsigned int PixelSetGreenQuantum( PixelWand *wand, const Quantum green );
A description of each parameter follows:
The pixel wand.
The green color.
unsigned int PixelSetMagenta( PixelWand *wand, const double magenta );
PixelSetMagenta() sets the normalized magenta color of the pixel wand.
The format of the PixelSetMagenta method is:
unsigned int PixelSetMagenta( PixelWand *wand, const double magenta );
A description of each parameter follows:
The pixel wand.
The magenta color.
unsigned int PixelSetMagentaQuantum( PixelWand *wand, const Quantum magenta );
PixelSetMagentaQuantum() sets the magenta color of the pixel wand. The color must be in the range of [0..MaxRGB]
The format of the PixelSetMagentaQuantum method is:
unsigned int PixelSetMagentaQuantum( PixelWand *wand, const Quantum magenta );
The pixel wand.
The magenta color.
unsigned int PixelSetOpacity( PixelWand *wand, const double opacity );
PixelSetOpacity() sets the normalized opacity color of the pixel wand.
The format of the PixelSetOpacity method is:
unsigned int PixelSetOpacity( PixelWand *wand, const double opacity );
A description of each parameter follows:
The pixel wand.
The opacity value.
unsigned int PixelSetOpacityQuantum( PixelWand *wand, const Quantum opacity );
PixelSetOpacityQuantum() sets the opacity color of the pixel wand. The color must be in the range of [0..MaxRGB]
The format of the PixelSetOpacityQuantum method is:
unsigned int PixelSetOpacityQuantum( PixelWand *wand, const Quantum opacity );
The pixel wand.
The opacity value.
PixelSetQuantumColor( PixelWand *wand, PixelPacket *color );
PixelSetQuantumColor() sets the color of the pixel wand.
The format of the PixelSetQuantumColor method is:
PixelSetQuantumColor( PixelWand *wand, PixelPacket *color );
A description of each parameter follows:
The pixel wand.
The pixel wand color (expressed as a PixelPacket).
unsigned int PixelSetRed( PixelWand *wand, const double red );
PixelSetRed() sets the normalized red color of the pixel wand.
The format of the PixelSetRed method is:
unsigned int PixelSetRed( PixelWand *wand, const double red );
A description of each parameter follows:
The pixel wand.
The red color.
unsigned int PixelSetRedQuantum( PixelWand *wand, const Quantum red );
PixelSetRedQuantum() sets the red color of the pixel wand. The color must be in the range of [0..MaxRGB]
The format of the PixelSetRedQuantum method is:
unsigned int PixelSetRedQuantum( PixelWand *wand, const Quantum red );
A description of each parameter follows:
The pixel wand.
The red color.
unsigned int PixelSetYellow( PixelWand *wand, const double yellow );
PixelSetYellow() sets the normalized yellow color of the pixel wand.
The format of the PixelSetYellow method is:
unsigned int PixelSetYellow( PixelWand *wand, const double yellow );
A description of each parameter follows:
The pixel wand.
The yellow color.
unsigned int PixelSetYellowQuantum( PixelWand *wand, const Quantum yellow );
PixelSetYellowQuantum() sets the yellow color of the pixel wand. The color must be in the range of [0..MaxRGB]
The format of the PixelSetYellowQuantum method is:
unsigned int PixelSetYellowQuantum( PixelWand *wand, const Quantum yellow );
A description of each parameter follows:
The pixel wand.
The yellow color.
Copyright © GraphicsMagick Group 2002 - 2023