# third_party_libgifcodec **Repository Path**: openharmony-sig/third_party_libgifcodec ## Basic Information - **Project Name**: third_party_libgifcodec - **Description**: 编解码gif,支持gif的渲染 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://gitee.com/openharmony-sig/third_party_libgifcodec - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-12-05 - **Last Updated**: 2025-05-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 🚨 **重要提示 | IMPORTANT** > > **⚠️ 此代码仓已归档。新地址请访问 [third_party_libgifcodec](https://gitcode.com/openharmony-sig/third_party_libgifcodec)。| ⚠️ This repository has been archived. For the new address, please visit [third_party_libgifcodec](https://gitcode.com/openharmony-sig/third_party_libgifcodec).** > --- > LIBGIF CODEC FOR SKIA ===================== libgifcodec is based on a fork of libgif made by Chromium. It was copied into Skia with , as . The header file `SkGifCodec.h` exposes two functions: * `bool SkGifCodec::IsGif(const void*, size_t);` * `std::unique_ptr SkGifCodec::MakeFromStream(std::unique_ptr, SkCodec::Result*);` Which can be used by Skia's `SkCodec::MakeFromStream` to implement GIF Decoding. See [`LICENSE.md`](LICENSE.md) for the license information.