Package org.jrobin.graph
Class GifEncoder
- java.lang.Object
-
- org.jrobin.graph.GifEncoder
-
class GifEncoder extends Object
-
-
Constructor Summary
Constructors Constructor Description GifEncoder()GifEncoder(Color[] colors)GifEncoder(Color[] colors, int width, int height, byte[] ci_pixels)GifEncoder(Image static_image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddFrame(int width, int height, byte[] ci_pixels)(package private) voidaddFrame(Image image)(package private) voidaddFrame(Gif89Frame gf)(package private) voidencode(OutputStream out)(package private) Gif89FramegetFrameAt(int index)(package private) intgetFrameCount()(package private) voidinsertFrame(int index, Gif89Frame gf)(package private) voidsetComments(String comments)(package private) voidsetLogicalDisplay(Dimension dim, int background)(package private) voidsetLoopCount(int count)(package private) voidsetTransparentIndex(int index)(package private) voidsetUniformDelay(int interval)
-
-
-
Constructor Detail
-
GifEncoder
GifEncoder()
-
GifEncoder
GifEncoder(Image static_image) throws IOException
- Throws:
IOException
-
GifEncoder
GifEncoder(Color[] colors)
-
GifEncoder
GifEncoder(Color[] colors, int width, int height, byte[] ci_pixels) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getFrameCount
int getFrameCount()
-
getFrameAt
Gif89Frame getFrameAt(int index)
-
addFrame
void addFrame(Gif89Frame gf) throws IOException
- Throws:
IOException
-
addFrame
void addFrame(Image image) throws IOException
- Throws:
IOException
-
addFrame
void addFrame(int width, int height, byte[] ci_pixels) throws IOException- Throws:
IOException
-
insertFrame
void insertFrame(int index, Gif89Frame gf) throws IOException- Throws:
IOException
-
setTransparentIndex
void setTransparentIndex(int index)
-
setLogicalDisplay
void setLogicalDisplay(Dimension dim, int background)
-
setLoopCount
void setLoopCount(int count)
-
setComments
void setComments(String comments)
-
setUniformDelay
void setUniformDelay(int interval)
-
encode
void encode(OutputStream out) throws IOException
- Throws:
IOException
-
-