commit | 3815a0321b8e99a9eb35309c80334a43c2c49ff2 | [log] [tgz] |
---|---|---|
author | Hal Canary <halcanary@google.com> | Mon Dec 02 12:22:49 2019 -0500 |
committer | Hal Canary <halcanary@google.com> | Mon Dec 02 19:02:05 2019 +0000 |
tree | 66a67374e12e22c95696d78ce699d831ebc92704 | |
parent | ed218be1ba3de964c186ceac8e1e344853530edf [diff] |
Add README.chromium file Change-Id: I9e773d1406dce2498508373bf7f2c28e639e1813 Reviewed-on: https://skia-review.googlesource.com/c/libgifcodec/+/257377 Reviewed-by: Leon Scroggins <scroggo@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.