public class PNGWriter extends ImageWriter
| Constructor and Description |
|---|
PNGWriter() |
PNGWriter(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, writepublic PNGWriter()
public PNGWriter(ImageParam param)
public ImageType getImageType()
getImageType in class ImageWriterprotected void write(int[] pixels,
int imageWidth,
int imageHeight,
java.io.OutputStream os)
throws java.lang.Exception
ImageWriterwrite in class ImageWriterpixels - input image array in ARGB formatimageWidth - image widthimageHeight - image heightos - OutputSteam to write the imagejava.lang.Exception