Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.image.encode
Interface ImageEncoder

All Known Implementing Classes:
AlphaMultiplyEncoder, OctreeEncoder, OracleGIFEncoder

public interface ImageEncoder

Interface for classes which encode images.


Method Summary
 void encodeImage(java.awt.Image image, java.io.OutputStream out)
          Encodes the image to the specified output stream.
 

Method Detail

encodeImage

public void encodeImage(java.awt.Image image,
                        java.io.OutputStream out)
                 throws java.io.IOException
Encodes the image to the specified output stream.

=-=ags Should probably throw something in addition to IOException to handle other problems

Parameters:
image - The image to encode
out - The output stream to which the image should be encoded

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.