public class BMPWriterPalette extends BMPWriter
Constructor and Description |
---|
BMPWriterPalette(SimplePalette palette) |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerPixel() |
byte[] |
getImageData(BufferedImage src) |
int |
getPaletteSize() |
void |
writePalette(BinaryOutputStream bos) |
public BMPWriterPalette(SimplePalette palette)
public int getPaletteSize()
getPaletteSize
in class BMPWriter
public int getBitsPerPixel()
getBitsPerPixel
in class BMPWriter
public void writePalette(BinaryOutputStream bos) throws IOException
writePalette
in class BMPWriter
IOException
public byte[] getImageData(BufferedImage src)
getImageData
in class BMPWriter
Copyright © 2007-2012. All Rights Reserved.