Clone this repo:

Branches

  1. f34bdbe Add Owners by Kevin Lubick · 2 years, 8 months ago main
  2. fd59fa9 "Ensure frame rect is on screen or empty" - take 2 by Leon Scroggins III · 3 years, 3 months ago
  3. e13b82f Ensure frame rect is on screen or empty by Leon Scroggins III · 3 years, 5 months ago
  4. 85c165b Remove extra "+ rowNumber" by Leon Scroggins III · 3 years, 5 months ago
  5. 1ca4d24 Call fillIn() to appropriately fill in a FrameInfo by Leon Scroggins III · 3 years, 5 months ago

LIBGIF CODEC FOR SKIA

libgifcodec is based on a fork of libgif made by Chromium. It was copied into Skia with https://codereview.chromium.org/2045293002, as https://skia.googlesource.com/skia/+/19b91531e912283d237435d94516575b28713cba.

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 LICENSE.md for the license information.