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
-
GifEncoder(Image, OutputStream)
- Constructor from Image.
-
GifEncoder(Image, OutputStream, boolean)
- Constructor from Image with interlace setting.
-
GifEncoder(ImageProducer, OutputStream)
- Constructor from ImageProducer.
-
GifEncoder(ImageProducer, OutputStream, boolean)
- Constructor from ImageProducer with interlace setting.
-
main(String[])
- Test GifEncoder
Run it with one argument: the string of the output file name
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.
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