Clone this repo:


  1. 38d9c73 don't include unused header by Mike Klein · 6 weeks ago master
  2. 3815a03 Add README.chromium file by Hal Canary · 7 weeks ago
  3. ed218be [minor] Changes to make Android Common Typos checker happy. by Hal Canary · 2 months ago
  4. c002ec5 [minor] Fix typo in comment by Hal Canary · 2 months ago
  5. 7fae3b5 Populate new repository with content from skia/third_party/gif by Hal Canary · 2 months ago


libgifcodec is based on a fork of libgif made by Chromium. It was copied into Skia with, as

The header file SkGifCodec.h exposes two functions:

  • bool SkGifCodec::IsGif(const void*, size_t);

  • std::unique_ptr<SkCodec> SkGifCodec::MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);

Which can be used by Skia's SkCodec::MakeFromStream to implement GIF Decoding.

See for the license information.