public class GifEncoder
extends java.lang.Object
| Constructor and Description |
|---|
GifEncoder(java.lang.String saveToFile)
Initializes a new instance of the GifEncoder class.
|
GifEncoder(java.lang.String saveToFile,
int milliseconds)
Path where the file will be saved.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFrame(FastBitmap fastBitmap)
Add frame in the sequence.
|
void |
finish()
End the sequence and save the animated gif.
|
public GifEncoder(java.lang.String saveToFile)
saveToFile - Path where the file will be saved.public GifEncoder(java.lang.String saveToFile,
int milliseconds)
saveToFile - Path where the file will be saved.milliseconds - Milliseconds between the frames.public void addFrame(FastBitmap fastBitmap)
fastBitmap - Image.public void finish()