public class ImageWorker
extends java.lang.Object
| Constructor and Description |
|---|
ImageWorker() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
read(java.lang.String fileName)
Reads the supplied image file and returns buffered image instance.
|
static void |
write(java.awt.image.BufferedImage image,
java.lang.String format,
java.lang.String fileName)
Writes the supplied image to the supplied file.
|
public static java.awt.image.BufferedImage read(java.lang.String fileName)
fileName - File name.public static void write(java.awt.image.BufferedImage image,
java.lang.String format,
java.lang.String fileName)
image - Image to write.fileName - Name of the file the image will be written to.