|
xmlgraphics-commons 2.3 | |||||||||
| 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(java.io.OutputStream out)
Creates a MultiImageWriter instance that lets you put multiple pages into a single file if the format supports it. |
java.lang.String |
getMIMEType()
|
boolean |
isFunctional()
|
boolean |
supportsMultiImageWriter()
|
void |
writeImage(java.awt.image.RenderedImage image,
java.io.OutputStream out)
Encodes an image and writes it to an OutputStream. |
void |
writeImage(java.awt.image.RenderedImage image,
java.io.OutputStream out,
ImageWriterParams params)
Encodes an image and writes it to an OutputStream. |
| Method Detail |
|---|
void writeImage(java.awt.image.RenderedImage image,
java.io.OutputStream out)
throws java.io.IOException
image - the image to be encodedout - the OutputStream to write to
java.io.IOException - In case of an /IO problem
void writeImage(java.awt.image.RenderedImage image,
java.io.OutputStream out,
ImageWriterParams params)
throws java.io.IOException
image - the image to be encodedout - the OutputStream to write toparams - a parameters object to customize the encoding.
java.io.IOException - In case of an /IO problemjava.lang.String getMIMEType()
boolean isFunctional()
boolean supportsMultiImageWriter()
MultiImageWriter createMultiImageWriter(java.io.OutputStream out)
throws java.io.IOException
out - the OutputStream to write the image to
java.io.IOException - In case of an /IO problem
|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||