public class GifConverter
extends java.lang.Object
| Constructor and Description |
|---|
GifConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFrame(java.awt.image.BufferedImage source)
Adds a single buffered image to the gif being created.
|
byte[] |
createGif()
Create the gif and clear down afterwards.
|
void |
createSequence(int gifDisplayTimeMills)
Create a new gif sequence
|
public byte[] createGif()
throws java.lang.Exception
java.lang.Exceptionpublic void addFrame(java.awt.image.BufferedImage source)
throws java.io.IOException
source - java.io.IOExceptionpublic void createSequence(int gifDisplayTimeMills)
throws javax.imageio.IIOException,
java.io.IOException
gifDisplayTimeMills - loop - javax.imageio.IIOExceptionjava.io.IOException