class GifEncoder extends Object
| Constructor | Description |
|---|---|
GifEncoder() |
|
GifEncoder(Color[] colors) |
|
GifEncoder(Color[] colors,
int width,
int height,
byte[] ci_pixels) |
|
GifEncoder(Image static_image) |
| Modifier and Type | Method | Description |
|---|---|---|
(package private) void |
addFrame(int width,
int height,
byte[] ci_pixels) |
|
(package private) void |
addFrame(Image image) |
|
(package private) void |
addFrame(Gif89Frame gf) |
|
(package private) void |
encode(OutputStream out) |
|
(package private) Gif89Frame |
getFrameAt(int index) |
|
(package private) int |
getFrameCount() |
|
(package private) void |
insertFrame(int index,
Gif89Frame gf) |
|
(package private) void |
setComments(String comments) |
|
(package private) void |
setLogicalDisplay(Dimension dim,
int background) |
|
(package private) void |
setLoopCount(int count) |
|
(package private) void |
setTransparentIndex(int index) |
|
(package private) void |
setUniformDelay(int interval) |
GifEncoder()
GifEncoder(Image static_image) throws IOException
IOExceptionGifEncoder(Color[] colors)
GifEncoder(Color[] colors, int width, int height, byte[] ci_pixels) throws IOException
IOExceptionint getFrameCount()
Gif89Frame getFrameAt(int index)
void addFrame(Gif89Frame gf) throws IOException
IOExceptionvoid addFrame(Image image) throws IOException
IOExceptionvoid addFrame(int width,
int height,
byte[] ci_pixels)
throws IOException
IOExceptionvoid insertFrame(int index,
Gif89Frame gf)
throws IOException
IOExceptionvoid setTransparentIndex(int index)
void setLogicalDisplay(Dimension dim, int background)
void setLoopCount(int count)
void setComments(String comments)
void setUniformDelay(int interval)
void encode(OutputStream out) throws IOException
IOException