• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LIBGIF CODEC FOR SKIA
2=====================
3
4libgifcodec is based on a fork of libgif made by Chromium.  It was copied into
5Skia with <https://codereview.chromium.org/2045293002>, as
6<https://skia.googlesource.com/skia/+/19b91531e912283d237435d94516575b28713cba>.
7
8The header file `SkGifCodec.h` exposes two functions:
9
10  * `bool SkGifCodec::IsGif(const void*, size_t);`
11
12  * `std::unique_ptr<SkCodec> SkGifCodec::MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);`
13
14Which can be used by Skia's `SkCodec::MakeFromStream` to implement GIF Decoding.
15
16See [`LICENSE.md`](LICENSE.md) for the license information.
17