|
xmlgraphics-commons 2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImageWriter
Interface which allows image library independent image writing.
| Method Summary | |
|---|---|
MultiImageWriter |
createMultiImageWriter(OutputStream out)
Creates a MultiImageWriter instance that lets you put multiple pages into a single file if the format supports it. |
String |
getMIMEType()
|
boolean |
isFunctional()
|
boolean |
supportsMultiImageWriter()
|
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. |
| Method Detail |
|---|
void writeImage(RenderedImage image,
OutputStream out)
throws IOException
image - the image to be encodedout - the OutputStream to write to
IOException - In case of an /IO problem
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 problemString getMIMEType()
boolean isFunctional()
boolean supportsMultiImageWriter()
MultiImageWriter createMultiImageWriter(OutputStream out)
throws IOException
out - the OutputStream to write the image to
IOException - In case of an /IO problem
|
xmlgraphics-commons 2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||