- NAME
- SYNOPSIS
- FUNCTION DESCRIPTIONS

- DestroyPixelWand
- NewPixelWand
- PixelGetException
- PixelGetBlue
- PixelGetBlueQuantum
- PixelGetColorAsString
- PixelGetGreen
- PixelGetGreenQuantum
- PixelGetOpacity
- PixelGetOpacityQuantum
- PixelGetRed
- PixelGetRedQuantum
- PixelSetColor
- PixelSetBlue
- PixelSetBlueQuantum
- PixelSetGreen
- PixelSetGreenQuantum
- PixelSetOpacity
- PixelSetOpacityQuantum
- PixelSetOpacity
- PixelSetRedQuantum

# NAME

pixel_wand - Pixel Wand

# SYNOPSIS

unsigned int DestroyPixelWand( PixelWand *wand );

PixelWand NewPixelWand( void );

double PixelGetBlue( const PixelWand *wand );

Quantum PixelGetBlueQuantum( const PixelWand *wand );

char * PixelGetColorAsString( PixelWand *wand );

unsigned int PixelGetException( PixelWand *wand, char ** description );

double PixelGetGreen( const PixelWand *wand );

Quantum PixelGetGreenQuantum( const PixelWand *wand );

double PixelGetOpacity( const PixelWand *wand );

Quantum PixelGetOpacityQuantum( const PixelWand *wand );

Quantum PixelGetRedQuantum( const PixelWand *wand );

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 PixelSetGreen( PixelWand *wand, const double green );

unsigned int PixelSetGreenQuantum( PixelWand *wand, const Quantum green );

unsigned int PixelSetOpacity( PixelWand *wand, const double opacity );

unsigned int PixelSetOpacity( PixelWand *wand, const double opacity );

unsigned int PixelSetOpacityQuantum( PixelWand *wand, const Quantum opacity );

unsigned int PixelSetRedQuantum( PixelWand *wand, const Quantum red );

# FUNCTION DESCRIPTIONS

## DestroyPixelWand

> 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:

wand:
  The pixel wand.

## NewPixelWand

> NewPixelWand() returns a new pixel wand.

The format of the NewPixelWand method is:

> PixelWand NewPixelWand ( void );

## PixelGetException

> 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:

wand:
  The pixel wand.

description:
  A description of the error.

## PixelGetBlue

> 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:

wand:
  The pixel wand.

## PixelGetBlueQuantum

> PixelGetBlueQuantum ( const ) returns the blue color of the pixel wand. Thecolor 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:

wand:
  The pixel wand.

## PixelGetColorAsString

> 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:

wand:
  The pixel wand.

## PixelGetGreen

> 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:

wand:
  The pixel wand.

## PixelGetGreenQuantum

> PixelGetGreenQuantum ( const ) returns the green color of the pixel wand. Thecolor 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:

wand:
  The pixel wand.

## PixelGetOpacity

> PixelGetOpacity ( const ) returns the normalized opacity color of the pixelwand.;

The format of the PixelGetOpacity method is:

> double PixelGetOpacity ( const PixelWand *wand );

A description of each parameter follows:

wand:
  The pixel wand.

## PixelGetOpacityQuantum

> 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:

wand:
  The pixel wand.

## PixelGetRed

PixelGetRead(const ) returns the normalized red color of the pixel wand.

The format of the PixelGetRed method is:

        double PixelGetRead(const PixelWand *wand)

A description of each parameter follows:

wand:
  The pixel wand.

## PixelGetRedQuantum

> PixelGetRedQuantum ( const ) returns the red color of the pixel wand. The color isin the range of [0..MaxRGB];

The format of the PixelGetRedQuantum method is:

> Quantum PixelGetRedQuantum ( const PixelWand *wand );

A description of each parameter follows:

wand:
  The pixel wand.

## PixelSetColor

> PixelSetColor() sets the color of the pixel wand.

The format of the PixelSetColor method is:

> unsigned int PixelSetColor ( PixelWand *wand, const char *color );

A description of each parameter follows:

wand:
  The pixel wand.

color:
  The pixel wand color.

## PixelSetBlue

> 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:

wand:
  The pixel wand.

blue:
  The blue color.

## PixelSetBlueQuantum

> 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:

wand:
  The pixel wand.

blue:
  The blue color.

## PixelSetGreen

> 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:

wand:
  The pixel wand.

green:
  The green color.

## PixelSetGreenQuantum

> 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:

wand:
  The pixel wand.

green:
  The green color.

## PixelSetOpacity

> 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:

wand:
  The pixel wand.

opacity:
  The opacity color.

## PixelSetOpacityQuantum

> 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 );

A description of each parameter follows:

wand:
  The pixel wand.

opacity:
  The opacity color.

## PixelSetOpacity

`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:

wand:
  The pixel wand.

red:
  The red color.

## PixelSetRedQuantum

> 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:

wand:
  The pixel wand.

red:
  The red color.

"Image manipulation software that works like magick"