|
xmlgraphics-commons 1.0
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
org.apache.xmlgraphics.image.writer
Interface ImageWriter
- All Known Implementing Classes:
- JPEGImageWriter, PNGImageWriter
- public interface ImageWriter
Interface which allows image library independent image writing.
- Version:
- $Id: ImageWriter.java 390673 2006-04-01 14:14:47Z jeremias $
Method Summary |
java.lang.String |
getMIMEType()
|
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. |
writeImage
public void writeImage(java.awt.image.RenderedImage image,
java.io.OutputStream out)
throws java.io.IOException
- Encodes an image and writes it to an OutputStream.
- Parameters:
image
- the image to be encodedout
- the OutputStream to write to- Throws:
java.io.IOException
- In case of an /IO problem
writeImage
public void writeImage(java.awt.image.RenderedImage image,
java.io.OutputStream out,
ImageWriterParams params)
throws java.io.IOException
- Encodes an image and writes it to an OutputStream.
- Parameters:
image
- the image to be encodedout
- the OutputStream to write toparams
- a parameters object to customize the encoding.- Throws:
java.io.IOException
- In case of an /IO problem
getMIMEType
public java.lang.String getMIMEType()
- Returns:
- the target MIME type supported by this ImageWriter
|
xmlgraphics-commons 1.0
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.