• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

LICENSE.mdD23-Nov-20234.9 KiB11083

README.chromiumD23-Nov-2023287 109

README.mdD23-Nov-2023619 1710

SkGifCodec.hD23-Nov-2023613 218

SkGifImageReader.cppD23-Nov-202338.4 KiB959576

SkGifImageReader.hD23-Nov-202312.5 KiB399264

SkLibGifCodec.cppD23-Nov-202321.8 KiB539341

SkLibGifCodec.hD23-Nov-20235.8 KiB15456

libgifcodec.gniD23-Nov-2023304 1512

README.chromium

1Name: libgif codec for Skia
2Short Name: libgifcodec
3URL: https://skia.googlesource.com/libgifcodec/
4Version: unknown
5License: MPL-1.1/GPL-2.0/LGPL-2.1 + BSD-3-Clause + BSD-2-Clause
6License File: LICENSE.md
7Security Critical: yes
8Description: See file README.md
9Local Modifications: None
10

README.md

1LIBGIF CODEC FOR SKIA
2=====================
3
4libgifcodec is based on a fork of libgif made by Chromium.  It was copied into
5Skia with <https://codereview.chromium.org/2045293002>, as
6<https://skia.googlesource.com/skia/+/19b91531e912283d237435d94516575b28713cba>.
7
8The header file `SkGifCodec.h` exposes two functions:
9
10  * `bool SkGifCodec::IsGif(const void*, size_t);`
11
12  * `std::unique_ptr<SkCodec> SkGifCodec::MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);`
13
14Which can be used by Skia's `SkCodec::MakeFromStream` to implement GIF Decoding.
15
16See [`LICENSE.md`](LICENSE.md) for the license information.
17