Class JimiIO

java.lang.Object
org.apache.axis.components.image.JimiIO
All Implemented Interfaces:
ImageIO

public class JimiIO extends Object implements ImageIO
JIMI based Image I/O
Since:
2.0
Author:
Davanum Srinivas
  • Constructor Details

    • JimiIO

      public JimiIO()
  • Method Details

    • saveImage

      public void saveImage(String id, Image image, OutputStream os) throws Exception
      Save an image.
      Specified by:
      saveImage in interface ImageIO
      Parameters:
      id - the mime-type of the format to save the image
      image - the image to save
      os - the output stream to write to
      filename - the file to write to
    • loadImage

      public Image loadImage(InputStream in) throws Exception
      Load an Image.
      Specified by:
      loadImage in interface ImageIO
      Parameters:
      in - the stream to load the image
      Returns:
      the Image
      Throws:
      Exception