public class PNGImageWriter
extends java.lang.Object
| Constructor and Description |
|---|
PNGImageWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(java.awt.image.BufferedImage image,
java.io.OutputStream outputStream)
Writes given buffered image to given output stream.
|
public void write(java.awt.image.BufferedImage image,
java.io.OutputStream outputStream)
throws java.io.IOException
image - Buffered image to be written.outputStream - Output stream representing file where image should be saved.java.io.IOException - Exception thrown when any I/O problem occurs.