magick
Class QuantizeInfo

magick.Magick
  |
  +--magick.QuantizeInfo

public class QuantizeInfo
extends Magick

Encapsulation of the QuantizedInfo structure.

Author:
Eric Yeo

Constructor Summary
QuantizeInfo()
          Constructor.

Method Summary
 intgetColorspace()
          Return the value of color_space field in the QuantizInfo structure.
 intgetDither()
          Return the value of dither field in the QuantizInfo structure.
 intgetMeasureError()
          Return the value of measure_error field in the QuantizInfo structure.
 intgetNumberColors()
          Return the value of number_colors field in the QuantizInfo structure.
 intgetTreeDepth()
          Return the value of tree_depth field in the QuantizInfo structure.
 voidinit()
          Initialise the QuantizeInfo structure.
 voidsetColorspace(int value)
          Set the value of colorspace field in the QuantizeInfo structure.
 voidsetDither(int value)
          Set the value of dither field in the QuantizeInfo structure.
 voidsetMeasureError(int value)
          Set the value of measure_error field in the QuantizeInfo structure.
 voidsetNumberColors(int value)
          Set the value of number_colors field in the QuantizeInfo structure.
 voidsetTreeDepth(int value)
          Set the value of tree_depth field in the QuantizeInfo structure.

Methods inherited from class magick.Magick
parseImageGeometry

Constructor Detail

QuantizeInfo

public QuantizeInfo()
throws MagickException
Constructor.
Method Detail

getColorspace

public int getColorspace()
throws MagickException
Return the value of color_space field in the QuantizInfo structure.
Returns: current value of color_space field

getDither

public int getDither()
throws MagickException
Return the value of dither field in the QuantizInfo structure.
Returns: current value of dither field

getMeasureError

public int getMeasureError()
throws MagickException
Return the value of measure_error field in the QuantizInfo structure.
Returns: current value of measure_error field

getNumberColors

public int getNumberColors()
throws MagickException
Return the value of number_colors field in the QuantizInfo structure.
Returns: current value of number_colors field

getTreeDepth

public int getTreeDepth()
throws MagickException
Return the value of tree_depth field in the QuantizInfo structure.
Returns: current value of tree_depth field

init

public void init()
throws MagickException
Initialise the QuantizeInfo structure.

setColorspace

public void setColorspace(int value)
throws MagickException
Set the value of colorspace field in the QuantizeInfo structure.
Parameters:
value new value of colorspace
See Also:
ColorspaceType

setDither

public void setDither(int value)
throws MagickException
Set the value of dither field in the QuantizeInfo structure.
Parameters:
value new value of dither

setMeasureError

public void setMeasureError(int value)
throws MagickException
Set the value of measure_error field in the QuantizeInfo structure.
Parameters:
value new value of measure_error

setNumberColors

public void setNumberColors(int value)
throws MagickException
Set the value of number_colors field in the QuantizeInfo structure.
Parameters:
value new value of number_colors

setTreeDepth

public void setTreeDepth(int value)
throws MagickException
Set the value of tree_depth field in the QuantizeInfo structure.
Parameters:
value new value of tree_depth

JMagick