1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
LICENSE.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.chromium Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
SkGifCodec.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
SkGifImageReader.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
SkGifImageReader.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
SkLibGifCodec.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
SkLibGifCodec.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
libgifcodec.gni Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.md

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.