![]() |
![]() |
![]() |
![]() |
NAMEpixel_wand - Pixel Wand
SYNOPSISvoid DestroyPixelWand( PixelWand *wand ); void DestroyPixelWands( PixelWand ** wand, const unsigned long number_wands ); PixelWand NewPixelWand( void ); double PixelGetBlack( const PixelWand *wand ); Quantum PixelGetBlackQuantum( const PixelWand *wand ); double PixelGetBlue( const PixelWand *wand ); Quantum PixelGetBlueQuantum( const PixelWand *wand ); char * PixelGetColorAsString( PixelWand *wand ); unsigned long PixelGetColorCount( const PixelWand *wand ); double PixelGetCyan( const PixelWand *wand ); Quantum PixelGetCyanQuantum( const PixelWand *wand ); char * PixelGetException( const PixelWand *wand, ExceptionType *severity ); double PixelGetGreen( const PixelWand *wand ); Quantum PixelGetGreenQuantum( const PixelWand *wand ); IndexPacket PixelGetIndex( const PixelWand *wand ); double PixelGetMagenta( const PixelWand *wand ); Quantum PixelGetMagentaQuantum( const PixelWand *wand ); double PixelGetOpacity( const PixelWand *wand ); Quantum PixelGetOpacityQuantum( const PixelWand *wand ); double PixelGetRed( const PixelWand *wand ); Quantum PixelGetRedQuantum( const PixelWand *wand ); double PixelGetYellow( const PixelWand *wand ); Quantum PixelGetYellowQuantum( const PixelWand *wand ); unsigned int PixelSetBlack( PixelWand *wand, const double black ); unsigned int PixelSetBlackQuantum( PixelWand *wand, const Quantum black ); unsigned int PixelSetBlue( PixelWand *wand, const double blue ); unsigned int PixelSetBlueQuantum( PixelWand *wand, const Quantum blue ); unsigned int PixelSetColor( PixelWand *wand, const char *color ); unsigned int PixelSetColorCount( PixelWand *wand, const unsigned long count ); unsigned int PixelSetCyan( PixelWand *wand, const double cyan ); unsigned int PixelSetCyanQuantum( PixelWand *wand, const Quantum cyan ); unsigned int PixelSetGreen( PixelWand *wand, const double green ); unsigned int PixelSetGreenQuantum( PixelWand *wand, const Quantum green ); unsigned int PixelSetIndex( PixelWand *wand, const IndexPacket index ); unsigned int PixelSetMagenta( PixelWand *wand, const double magenta ); unsigned int PixelSetMagentaQuantum( PixelWand *wand, const Quantum magenta ); unsigned int PixelSetOpacity( PixelWand *wand, const double opacity ); unsigned int PixelSetOpacityQuantum( PixelWand *wand, const Quantum opacity ); PixelSetQuantumColor( PixelWand *wand, const PixelPacket *color ); unsigned int PixelSetRed( PixelWand *wand, const double red ); unsigned int PixelSetRedQuantum( PixelWand *wand, const Quantum red ); unsigned int PixelSetYellow( PixelWand *wand, const double yellow ); unsigned int PixelSetYellowQuantum( PixelWand *wand, const Quantum yellow );
FUNCTION DESCRIPTIONS
DestroyPixelWandDestroyPixelWand() deallocates resources associated with a PixelWand. The format of the DestroyPixelWand method is: void DestroyPixelWand ( PixelWand *wand ); A description of each parameter follows:
DestroyPixelWandsDestroyPixelWands() deallocates resources associated with an array of pixel wands. The format of the DestroyPixelWands method is: void DestroyPixelWands ( PixelWand **wand, const unsigned long number_wands ); A description of each parameter follows:
NewPixelWandNewPixelWand() returns a new pixel wand. The format of the NewPixelWand method is: PixelWand NewPixelWand ( void );
NewPixelWandsNewPixelWands() returns an array of pixel wands. The format of the NewPixelWand method is: PixelWand NewPixelWand(const unsigned long number_wands) A description of each parameter follows:
PixelGetExceptionPixelGetException() returns the severity, reason, and description of any error that occurs when using other methods in this API. The format of the PixelGetException method is: char *PixelGetException ( const PixelWand *wand, ExceptionType *severity ); A description of each parameter follows:
PixelGetBlackPixelGetBlack() 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:
PixelGetBlackQuantumPixelGetBlackQuantum() 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:
PixelGetBluePixelGetBlue() 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:
PixelGetBlueQuantumPixelGetBlueQuantum() 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:
PixelGetColorAsStringPixelGetColorAsString() gets the color of the pixel wand. The format of the PixelGetColorAsString method is: char *PixelGetColorAsString ( PixelWand *wand ); A description of each parameter follows:
PixelGetColorCountPixelGetColorCount() 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:
PixelGetCyanPixelGetCyan() 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:
PixelGetCyanQuantumPixelGetCyanQuantum() 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:
PixelGetGreenPixelGetGreen() 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:
PixelGetGreenQuantumPixelGetGreenQuantum() 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:
PixelGetIndexPixelGetIndex() returns the colormap index from the pixel wand. The format of the PixelGetIndex method is: IndexPacket PixelGetIndex ( const PixelWand *wand ); A description of each parameter follows:
PixelGetMagentaPixelGetMagenta() 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:
PixelGetMagentaQuantumPixelGetMagentaQuantum() 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:
PixelGetOpacityPixelGetOpacity() 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:
PixelGetOpacityQuantumPixelGetOpacityQuantum() 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:
PixelGetRedPixelGetRed() 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:
PixelGetRedQuantumPixelGetRedQuantum() 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:
PixelGetYellowPixelGetYellow() 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:
PixelGetYellowQuantumPixelGetYellowQuantum() 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:
PixelSetBlackPixelSetBlack() 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:
PixelSetBlackQuantumPixelSetBlackQuantum() 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 ); A description of each parameter follows:
PixelSetBluePixelSetBlue() 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:
PixelSetBlueQuantumPixelSetBlueQuantum() 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:
PixelSetColorPixelSetColor() sets the color of the pixel wand with a string ( e.g. "blue", "#0000ff", "rgb ( 0, 0, 255 ) ", "cmyk ( 100, 100, 100, 10 ) ", etc. ) . The format of the PixelSetColor method is: unsigned int PixelSetColor ( PixelWand *wand, const char *color ); A description of each parameter follows:
PixelSetColorCountPixelSetColorCount() sets the color count of the pixel wand. The format of the PixelSetColorCount method is: unsigned int PixelSetColorCount ( PixelWand *wand, const unsigned long count ); A description of each parameter follows:
PixelSetCyanPixelSetCyan() 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:
PixelSetCyanQuantumPixelSetCyanQuantum() 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:
PixelSetGreenPixelSetGreen() 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:
PixelSetGreenQuantumPixelSetGreenQuantum() 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:
PixelSetIndexPixelSetIndex() sets the colormap index of the pixel wand. The format of the PixelSetIndex method is: unsigned int PixelSetIndex ( PixelWand *wand, const IndexPacket index ); A description of each parameter follows:
PixelSetMagentaPixelSetMagenta() 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:
PixelSetMagentaQuantumPixelSetMagentaQuantum() 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 ); A description of each parameter follows:
PixelSetOpacityPixelSetOpacity() 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:
PixelSetOpacityQuantumPixelSetOpacityQuantum() 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 ); A description of each parameter follows:
PixelSetQuantumColorPixelSetQuantumColor() sets the color of the pixel wand. The format of the PixelSetQuantumColor method is: PixelSetQuantumColor ( PixelWand *wand, const PixelPacket *color ); A description of each parameter follows:
PixelSetRedPixelSetRed() 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:
PixelSetRedQuantumPixelSetRedQuantum() 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:
PixelSetYellowPixelSetYellow() 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:
PixelSetYellowQuantumPixelSetYellowQuantum() 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:
![]() |