gifencoder library

Classes

GifBuffer
An incomplete GIF, possibly animated.

Constants

maxColorBits → const int
8
maxColors → const int
1 << maxColorBits

Functions

makeGif(int width, int height, List<int> rgba) → Uint8List
Creates a GIF from per-pixel rgba data, ignoring the alpha channel. Returns a list of bytes. Throws an exception if the the image has too many colors. [...]