public interface ImageIO
Modifier and Type | Method and Description |
---|---|
java.awt.Image |
loadImage(java.io.InputStream in)
Load an Image.
|
void |
saveImage(java.lang.String id,
java.awt.Image image,
java.io.OutputStream os)
Save an image.
|
void saveImage(java.lang.String id, java.awt.Image image, java.io.OutputStream os) throws java.lang.Exception
id
- the mime-type of the format to save the imageimage
- the image to saveos
- the output stream to write tojava.lang.Exception
- if an error prevents image encodingjava.awt.Image loadImage(java.io.InputStream in) throws java.lang.Exception
in
- the stream to load the imagejava.lang.Exception
Copyright © 2005 Apache Web Services Project. All Rights Reserved.