All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.hdf.util.encoder.GifEncoder

java.lang.Object
   |
   +----ncsa.hdf.util.encoder.ImageEncoder
           |
           +----ncsa.hdf.util.encoder.GifEncoder

public class GifEncoder
extends ImageEncoder

Constructor Index

 o GifEncoder(Image, OutputStream)
Constructor from Image.
 o GifEncoder(Image, OutputStream, boolean)
Constructor from Image with interlace setting.
 o GifEncoder(ImageProducer, OutputStream)
Constructor from ImageProducer.
 o GifEncoder(ImageProducer, OutputStream, boolean)
Constructor from ImageProducer with interlace setting.

Method Index

 o main(String[])
Test GifEncoder Run it with one argument: the string of the output file name

Constructors

 o 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.
 o 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.
 o 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.
 o 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.

Methods

 o main
 public static void main(String argv[])
Test GifEncoder Run it with one argument: the string of the output file name


All Packages  Class Hierarchy  This Package  Previous  Next  Index