decodeGifAnimation function

Animation decodeGifAnimation (
  1. List<int> bytes
)

Decode an animated GIF file. If the GIF isn't animated, the animation will contain a single frame with the GIF's image.

Implementation

Animation decodeGifAnimation(List<int> bytes) {
  return new GifDecoder().decodeAnimation(bytes);
}