FileDocCategorySizeDatePackage
JimiIO.javaAPI DocApache Axis 1.41537Sat Apr 22 18:57:26 BST 2006org.apache.axis.components.image

JimiIO

public class JimiIO extends Object implements ImageIO
JIMI based Image I/O
author
Davanum Srinivas
since
2.0

Fields Summary
Constructors Summary
Methods Summary
public java.awt.ImageloadImage(java.io.InputStream in)
Load an Image.

param
in the stream to load the image
return
the Image

        return Jimi.getImage(in);
    
public voidsaveImage(java.lang.String id, java.awt.Image image, java.io.OutputStream os)
Save an image.

param
id the mime-type of the format to save the image
param
image the image to save
param
filename the file to write to
exception
JimiException if an error prevents image encoding

        Jimi.putImage(id, image, os);