IIndexBitmapConverter
public interface IIndexBitmapConverter
This interface declared for customization algorithms of quantization. Users can implement their own realization of this algorithms (for example algorithms based on unmanaged code).
Methods
Method | Description |
---|---|
get1BppImage(BufferedImage src) | Returns 1Bpp bitmap representation |
get4BppImage(BufferedImage src) | Returns 4Bpp bitmap representation |
get8BppImage(BufferedImage src) | Returns 4Bpp bitmap representation |
get1BppImage(BufferedImage src)
public abstract BufferedImage get1BppImage(BufferedImage src)
Returns 1Bpp bitmap representation
Parameters:
Parameter | Type | Description |
---|---|---|
src | java.awt.image.BufferedImage | Source bitmap. |
Returns: java.awt.image.BufferedImage - Bitmap in 1 bpp image format.
get4BppImage(BufferedImage src)
public abstract BufferedImage get4BppImage(BufferedImage src)
Returns 4Bpp bitmap representation
Parameters:
Parameter | Type | Description |
---|---|---|
src | java.awt.image.BufferedImage | Source bitmap. |
Returns: java.awt.image.BufferedImage - Bitmap in 4 bpp image format.
get8BppImage(BufferedImage src)
public abstract BufferedImage get8BppImage(BufferedImage src)
Returns 4Bpp bitmap representation
Parameters:
Parameter | Type | Description |
---|---|---|
src | java.awt.image.BufferedImage | Source bitmap. |
Returns: java.awt.image.BufferedImage - Bitmap in 4 bpp image format.