commit | f34bdbe66f0589af466b38e8b6f65acc5e30b3a1 | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Wed Aug 25 13:43:30 2021 -0400 |
committer | Kevin Lubick <kjlubick@google.com> | Wed Aug 25 17:46:06 2021 +0000 |
tree | c63417e73af647826386bac034f11188de7bb7a2 | |
parent | fd59fa92a0c86788dcdd84d091e1ce81eda06a77 [diff] |
Add Owners Bug: skia:12124 Change-Id: If86855aabe0891395ccdcd0365b1515c918c3e88 Reviewed-on: https://skia-review.googlesource.com/c/libgifcodec/+/441809 Reviewed-by: Ravi Mistry <rmistry@google.com>
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.