edu.berkeley.guir.lib.awt.image
Class GifEncoder
java.lang.Object
|
+--edu.berkeley.guir.lib.awt.image.ImageEncoder
|
+--edu.berkeley.guir.lib.awt.image.GifEncoder
- All Implemented Interfaces:
- ImageConsumer
- public class GifEncoder
- extends ImageEncoder
Write out an image as a GIF.
Fetch
the software.
Fetch the entire Acme package.
| Fields inherited from class edu.berkeley.guir.lib.awt.image.ImageEncoder |
out |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GifEncoder
public GifEncoder(Image img,
OutputStream out)
throws IOException
- Constructor from Image.
- Parameters:
img - The image to encode.out - The stream to write the GIF to.
GifEncoder
public GifEncoder(Image img,
OutputStream out,
boolean interlace)
throws IOException
- Constructor from Image with interlace setting.
- Parameters:
img - The image to encode.out - The stream to write the GIF to.interlace - Whether to interlace.
GifEncoder
public GifEncoder(ImageProducer prod,
OutputStream out)
throws IOException
- Constructor from ImageProducer.
- Parameters:
prod - The ImageProducer to encode.out - The stream to write the GIF to.
GifEncoder
public GifEncoder(ImageProducer prod,
OutputStream out,
boolean interlace)
throws IOException
- Constructor from ImageProducer with interlace setting.
- Parameters:
prod - The ImageProducer to encode.out - The stream to write the GIF to.