org.apache.axis.components.image

Class JDK13IO

public class JDK13IO extends Component implements ImageIO

JDK1.3 based Image I/O

Author: Russell Butek

Method Summary
ImageloadImage(InputStream in)
Load an Image.
voidsaveImage(String mimeType, Image image, OutputStream os)
Save an image.

Method Detail

loadImage

public Image loadImage(InputStream in)
Load an Image.

Parameters: in the stream to load the image

Returns: the Image

saveImage

public void saveImage(String mimeType, Image image, OutputStream os)
Save an image.

Parameters: mimeType the mime-type of the format to save the image image the image to save os the stream to write to

Throws: Exception if an error prevents image encoding

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.