org.apache.axis.components.image
Class MerlinIO
Component
org.apache.axis.components.image.MerlinIO
- ImageIO
public class MerlinIO
extends Component
JDK1.4 based Image I/O
NOTE: NEEDS WORK!!!! NEEDS TO BE TESTED.
Image | loadImage(InputStream in) - Load an Image.
|
void | saveImage(String mimeType, Image image, OutputStream os) - Save an image.
|
loadImage
public Image loadImage(InputStream in)
throws Exception
Load an Image.
- loadImage in interface ImageIO
in
- the stream to load the image
saveImage
public void saveImage(String mimeType,
Image image,
OutputStream os)
throws Exception
Save an image.
- saveImage in interface ImageIO
mimeType
- the mime-type of the format to save the imageimage
- the image to saveos
- the stream to write to
Copyright © 2005 Apache Web Services Project. All Rights Reserved.