|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cesilko.rachota.gui.PNGImageWriter
public class PNGImageWriter
Encoder for writing BufferedImage as true color PNG image with maximum compression.
| Constructor Summary | |
|---|---|
PNGImageWriter()
|
|
| Method Summary | |
|---|---|
void |
write(java.awt.image.BufferedImage image,
java.io.OutputStream outputStream)
Writes given buffered image to given output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PNGImageWriter()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||