public class PNGImageWriter extends AbstractImageWriter
| Constructor and Description |
|---|
PNGImageWriter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMIMEType() |
void |
writeImage(RenderedImage image,
OutputStream out)
Encodes an image and writes it to an OutputStream.
|
void |
writeImage(RenderedImage image,
OutputStream out,
ImageWriterParams params)
Encodes an image and writes it to an OutputStream.
|
createMultiImageWriter, isFunctional, supportsMultiImageWriterpublic void writeImage(RenderedImage image, OutputStream out) throws IOException
image - the image to be encodedout - the OutputStream to write toIOException - In case of an /IO problempublic void writeImage(RenderedImage image, OutputStream out, ImageWriterParams params) throws IOException
image - the image to be encodedout - the OutputStream to write toparams - a parameters object to customize the encoding.IOException - In case of an /IO problempublic String getMIMEType()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.