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

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

All Known Implementing Classes:
  JDK13IO

public interface ImageIO

This interface defines a ImageIO modules functionality

Since:
  2.0
Version:
  $Revision: 1.1.1.1 $ $Date: 2004/08/20 18:42:35 $
Author:
  Davanum Srinivas

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

Method Detail

### saveImage

    public void saveImage(String id,
                          Image image,
                          OutputStream os)
                   throws 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:
    `Exception` - if an error prevents image encoding

### loadImage

    public Image loadImage(InputStream in)
                    throws Exception

  Load an Image.

  Parameters:
    `in` - the stream to load the image
  Returns:
    the Image
  Throws:
    `Exception`

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

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.