tencent/libpag

The official rendering library for PAG (Portable Animated Graphics) files that renders After Effects animations natively across multiple platforms.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 27 minutes ago
Added to GitGenius on September 11th, 2026
Created on September 22nd, 2020
Open Issues & Pull Requests: 226 (+0)
GitHub issues: Enabled
Number of forks: 532
Total Stargazers: 5,779 (+0)
Total Subscribers: 48 (+0)

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 31.5 hours
90th percentile: 0.0 hours
Tracked items: 346

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 47% of tracked open issues have had no activity in three months. Only 8% of issues opened in the past year have been closed. Three people close 54% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 164
New in 7 days: 3
Closed in 7 days: 0
Avg open age: 456 days
Stale 30+ days: 149
Stale 90+ days: 131

Recent activity

Opened in 7 days: 3
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 2

Top labels

No label distribution available yet.

Detailed Description

libpag is a rendering library for PAG (Portable Animated Graphics) files that renders After Effects animations natively across multiple platforms including iOS, Android, OpenHarmony, macOS, Windows, Linux, and the Web.

The tool solves the problem of efficiently delivering complex animations created in After Effects to production applications. Rather than converting animations to video or JSON formats, libpag uses a proprietary binary file format that decodes significantly faster and compresses to roughly half the file size of equivalent JSON animations. The library supports both vector-based and raster-based animations, including third-party plugin effects from After Effects, allowing designers to export complete animations with embedded bitmaps and media in a single file without additional attachments.

Developers should choose libpag if they need to deploy After Effects animations across multiple platforms with minimal file overhead and maximum fidelity to the original design. The tool suits projects where animations are created by designers in After Effects and need to reach production with full feature support, particularly those requiring runtime editing capabilities such as text replacement, image swapping, or layer structure modification. The project includes PAGExporter, a plugin for After Effects, and PAGViewer, a preview and performance monitoring application, both available on macOS and Windows. The README does not compare libpag to alternative animation solutions.

The project demonstrates substantial adoption in production environments, with almost all open issues raised by outside users rather than the core team, indicating a real-world user base reporting genuine problems and use cases.