public class GifEncoder extends ImageEncoder
out
Constructor and Description |
---|
GifEncoder(java.awt.Image img,
java.io.OutputStream out)
Constructor from Image.
|
GifEncoder(java.awt.Image img,
java.io.OutputStream out,
boolean interlace)
Constructor from Image with interlace setting.
|
GifEncoder(java.awt.image.ImageProducer prod,
java.io.OutputStream out)
Constructor from ImageProducer.
|
GifEncoder(java.awt.image.ImageProducer prod,
java.io.OutputStream out,
boolean interlace)
Constructor from ImageProducer with interlace setting.
|
encode, getProperties, imageComplete, setColorModel, setDimensions, setHints, setPixels, setPixels, setProperties
public GifEncoder(java.awt.Image img, java.io.OutputStream out) throws java.io.IOException
img
- The image to encode.out
- The stream to write the GIF to.java.io.IOException
public GifEncoder(java.awt.Image img, java.io.OutputStream out, boolean interlace) throws java.io.IOException
img
- The image to encode.out
- The stream to write the GIF to.interlace
- Whether to interlace.java.io.IOException
public GifEncoder(java.awt.image.ImageProducer prod, java.io.OutputStream out) throws java.io.IOException
prod
- The ImageProducer to encode.out
- The stream to write the GIF to.java.io.IOException
public GifEncoder(java.awt.image.ImageProducer prod, java.io.OutputStream out, boolean interlace) throws java.io.IOException
prod
- The ImageProducer to encode.out
- The stream to write the GIF to.java.io.IOException
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details