A D E G I M N S

A

addFrame(Gif89Frame) - Method in class net.jmge.gif.Gif89Encoder
Add a Gif89Frame frame to the end of the internal sequence.
addFrame(Image) - Method in class net.jmge.gif.Gif89Encoder
Convenience version of addFrame() that takes a Java Image, internally constructing the requisite DirectGif89Frame.
addFrame(int, int, byte[]) - Method in class net.jmge.gif.Gif89Encoder
The index-model convenience version of addFrame().

D

DirectGif89Frame - Class in net.jmge.gif
Instances of this Gif89Frame subclass are constructed from RGB image info, either in the form of an Image object or a pixel array.
DirectGif89Frame(Image) - Constructor for class net.jmge.gif.DirectGif89Frame
Construct an DirectGif89Frame from a Java image.
DirectGif89Frame(int, int, int[]) - Constructor for class net.jmge.gif.DirectGif89Frame
Construct an DirectGif89Frame from ARGB pixel data.
DM_BGCOLOR - Static variable in class net.jmge.gif.Gif89Frame
The animated GIF renderer shall replace this Gif89Frame's area with the background color.
DM_LEAVE - Static variable in class net.jmge.gif.Gif89Frame
The animated GIF renderer shall take no display-disposal action.
DM_REVERT - Static variable in class net.jmge.gif.Gif89Frame
The animated GIF renderer shall replace this Gif89Frame's area with the previous frame's bitmap.
DM_UNDEFINED - Static variable in class net.jmge.gif.Gif89Frame
The animated GIF renderer shall decide how to dispose of this Gif89Frame's display area.

E

encode(OutputStream) - Method in class net.jmge.gif.Gif89Encoder
After adding your frame(s) and setting your options, simply call this method to write the GIF to the passed stream.

G

getFrameAt(int) - Method in class net.jmge.gif.Gif89Encoder
Get a reference back to a Gif89Frame object by position.
getFrameCount() - Method in class net.jmge.gif.Gif89Encoder
Get the number of frames that have been added so far.
Gif89Encoder - Class in net.jmge.gif
This is the central class of a JDK 1.1 compatible GIF encoder that, AFAIK, supports more features of the extended GIF spec than any other Java open source encoder.
Gif89Encoder() - Constructor for class net.jmge.gif.Gif89Encoder
Use this default constructor if you'll be adding multiple frames constructed from RGB data (i.e., AWT Image objects or ARGB-pixel arrays).
Gif89Encoder(Image) - Constructor for class net.jmge.gif.Gif89Encoder
Like the default except that it also adds a single frame, for conveniently encoding a static GIF from an image.
Gif89Encoder(Color[]) - Constructor for class net.jmge.gif.Gif89Encoder
This constructor installs a user color table, overriding the detection of of a palette from ARBG pixels.
Gif89Encoder(Color[], int, int, byte[]) - Constructor for class net.jmge.gif.Gif89Encoder
Convenience constructor for encoding a static GIF from index-model data.
Gif89Frame - Class in net.jmge.gif
First off, just to dispel any doubt, this class and its subclasses have nothing to do with GUI "frames" such as java.awt.Frame.

I

IndexGif89Frame - Class in net.jmge.gif
Instances of this Gif89Frame subclass are constructed from bitmaps in the form of color-index pixels, which accords with a GIF's native palettized color model.
IndexGif89Frame(int, int, byte[]) - Constructor for class net.jmge.gif.IndexGif89Frame
Construct a IndexGif89Frame from color-index pixel data.
insertFrame(int, Gif89Frame) - Method in class net.jmge.gif.Gif89Encoder
Like addFrame() except that the frame is inserted at a specific point in the sequence rather than appended.

M

main(String[]) - Static method in class net.jmge.gif.Gif89Encoder
A simple driver to test the installation and to demo usage.

N

net.jmge.gif - package net.jmge.gif
 

S

setComments(String) - Method in class net.jmge.gif.Gif89Encoder
Specify some textual comments to be embedded in GIF.
setDelay(int) - Method in class net.jmge.gif.Gif89Frame
Set the between-frame interval.
setDisposalMode(int) - Method in class net.jmge.gif.Gif89Frame
Setting this option determines (in a cooperative GIF-viewer) what will be done with this frame's display area before the subsequent frame is displayed.
setInterlaced(boolean) - Method in class net.jmge.gif.Gif89Frame
Set or clear the interlace flag.
setLogicalDisplay(Dimension, int) - Method in class net.jmge.gif.Gif89Encoder
Sets attributes of the multi-image display area, if applicable.
setLoopCount(int) - Method in class net.jmge.gif.Gif89Encoder
Set animation looping parameter, if applicable.
setPosition(Point) - Method in class net.jmge.gif.Gif89Frame
Set the position of this frame within a larger animation display space.
setTransparentIndex(int) - Method in class net.jmge.gif.Gif89Encoder
Set the color table index for the transparent color, if any.
setUniformDelay(int) - Method in class net.jmge.gif.Gif89Encoder
A convenience method for setting the "animation speed".

A D E G I M N S