public class Gif89Encoder extends Object
| Constructor and Description |
|---|
Gif89Encoder() |
Gif89Encoder(Color[] colors) |
Gif89Encoder(Color[] colors,
int width,
int height,
byte[] ci_pixels) |
Gif89Encoder(Image static_image) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFrame(Gif89Frame gf) |
void |
addFrame(Image image) |
void |
addFrame(int width,
int height,
byte[] ci_pixels) |
void |
encode(OutputStream out) |
Gif89Frame |
getFrameAt(int index) |
int |
getFrameCount() |
void |
insertFrame(int index,
Gif89Frame gf) |
static void |
main(String[] args) |
void |
setComments(String comments) |
void |
setLogicalDisplay(Dimension dim,
int background) |
void |
setLoopCount(int count) |
void |
setTransparentIndex(int index) |
void |
setUniformDelay(int interval) |
public Gif89Encoder()
public Gif89Encoder(Image static_image) throws IOException
IOExceptionpublic Gif89Encoder(Color[] colors)
public Gif89Encoder(Color[] colors, int width, int height, byte[] ci_pixels) throws IOException
IOExceptionpublic int getFrameCount()
public Gif89Frame getFrameAt(int index)
public void addFrame(Gif89Frame gf) throws IOException
IOExceptionpublic void addFrame(Image image) throws IOException
IOExceptionpublic void addFrame(int width,
int height,
byte[] ci_pixels)
throws IOException
IOExceptionpublic void insertFrame(int index,
Gif89Frame gf)
throws IOException
IOExceptionpublic void setTransparentIndex(int index)
public void setLogicalDisplay(Dimension dim, int background)
public void setLoopCount(int count)
public void setComments(String comments)
public void setUniformDelay(int interval)
public void encode(OutputStream out) throws IOException
IOExceptionpublic static void main(String[] args)
Copyright © 2016 jufeng. All rights reserved.