magick

Class QuantizeInfo


public class QuantizeInfo
extends Magick

Encapsulation of the QuantizedInfo structure.
Author:
Eric Yeo

Constructor Summary

QuantizeInfo()
Constructor.

Method Summary

protected void
finalize()
Automated destructor.
int
getColorspace()
Return the value of color_space field in the QuantizInfo structure.
int
getDither()
Return the value of dither field in the QuantizInfo structure.
int
getMeasureError()
Return the value of measure_error field in the QuantizInfo structure.
int
getNumberColors()
Return the value of number_colors field in the QuantizInfo structure.
int
getTreeDepth()
Return the value of tree_depth field in the QuantizInfo structure.
void
init()
Initialise the QuantizeInfo structure.
void
setColorspace(int value)
Set the value of colorspace field in the QuantizeInfo structure.
void
setDither(int value)
Set the value of dither field in the QuantizeInfo structure.
void
setMeasureError(int value)
Set the value of measure_error field in the QuantizeInfo structure.
void
setNumberColors(int value)
Set the value of number_colors field in the QuantizeInfo structure.
void
setTreeDepth(int value)
Set the value of tree_depth field in the QuantizeInfo structure.

Methods inherited from class magick.Magick

parseImageGeometry

Constructor Details

QuantizeInfo

public QuantizeInfo()
            throws MagickException
Constructor.

Method Details

finalize

protected void finalize()
Automated destructor.

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

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