Package org.apache.axis.components.image
Interface ImageIO
public interface ImageIO
This interface defines a ImageIO modules functionality
- Since:
- 2.0
- Author:
- Davanum Srinivas
-
Method Summary
Modifier and TypeMethodDescriptionloadImage
(InputStream in) Load an Image.void
saveImage
(String id, Image image, OutputStream os) Save an image.
-
Method Details
-
saveImage
Save an image.- Parameters:
id
- the mime-type of the format to save the imageimage
- the image to saveos
- the output stream to write to- Throws:
Exception
- if an error prevents image encoding
-
loadImage
Load an Image.- Parameters:
in
- the stream to load the image- Returns:
- the Image
- Throws:
Exception
-