public class ImageWriter extends Object
| Constructor and Description |
|---|
ImageWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(BufferedImage image,
File file) |
void |
write(BufferedImage image,
OutputStream outputStream,
String extension) |
void |
writeAsJpeg(BufferedImage image,
File file) |
void |
writeAsPng(BufferedImage image,
File file) |
public void write(BufferedImage image, File file) throws IOException
IOExceptionpublic void writeAsPng(BufferedImage image, File file) throws IOException
IOExceptionpublic void writeAsJpeg(BufferedImage image, File file) throws IOException
IOExceptionpublic void write(BufferedImage image, OutputStream outputStream, String extension) throws IOException
IOExceptionCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.