Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis.components.image
Interface ImageIO

All Known Implementing Classes:
  JimiIO, JDK13IO, MerlinIO

public interface ImageIO

This interface defines a ImageIO modules functionality

Since:
  2.0
Version:
  $Revision: 1.1 $ $Date: 2002/08/20 17:25:49 $
Author:
  Davanum Srinivas

Method Summary
`java.awt.Image` | `loadImage(java.io.InputStream in)` Load an Image.
`void` | `saveImage(java.lang.String id, java.awt.Image image, java.io.OutputStream os)` Save an image.

Method Detail

### saveImage

    public void saveImage(java.lang.String id,
                          java.awt.Image image,
                          java.io.OutputStream os)
                   throws java.lang.Exception

  Save an image.
  Parameters:
    `id` - the mime-type of the format to save the image
    `image` - the image to save
    `os` - the output stream to write to
  Throws:
    `java.lang.Exception` - if an error prevents image encoding

### loadImage

    public java.awt.Image loadImage(java.io.InputStream in)
                             throws java.lang.Exception

  Load an Image.
  Parameters:
    `in` - the stream to load the image
  Returns:
    the Image

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 Apache XML Project. All Rights Reserved.