public class GifEncoder
extends java.lang.Object
Constructor and Description |
---|
GifEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
encode(java.awt.Image image,
java.io.OutputStream os)
Encodes the specified image to the specified output stream.
|
public void encode(java.awt.Image image, java.io.OutputStream os) throws java.io.IOException
image
- the image to encode.os
- the output stream which will receive the encoded image.java.io.IOException