public class BMPWriter extends ImageWriter
Constructor and Description |
---|
BMPWriter() |
BMPWriter(ImageParam param) |
Modifier and Type | Method and Description |
---|---|
ImageType |
getImageType() |
protected void |
write(int[] pixels,
int imageWidth,
int imageHeight,
java.io.OutputStream os)
The actual image writing method to be implemented by any specific ImageWriter subclass
|
getImageParam, setImageParam, write
public BMPWriter()
public BMPWriter(ImageParam param)
public ImageType getImageType()
getImageType
in class ImageWriter
protected void write(int[] pixels, int imageWidth, int imageHeight, java.io.OutputStream os) throws java.lang.Exception
ImageWriter
write
in class ImageWriter
pixels
- input image array in ARGB formatimageWidth
- image widthimageHeight
- image heightos
- OutputSteam to write the imagejava.lang.Exception