oupson/Kapng-Android

Created Dec 23, 2020 · View the oupson/Kapng-Android repository page

An android library to create or display apng

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

4

Lines of Code

875

From

Sep 27, 2018

To

Dec 6, 2020

About oupson/Kapng-Android

Kapng-Android is an Android library written in Kotlin that enables developers to display and create animated PNG (APNG) images in their applications. The library provides straightforward APIs for loading APNG files from various sources including local files, URIs, Android resources, URLs, and input streams directly into ImageView components, with optional callbacks for handling completion events.

Beyond just displaying animated PNGs, the library also includes functionality to programmatically create and encode APNG files, making it useful for applications that need to generate animated graphics at runtime. The library is distributed through JitPack or can be integrated locally as an AAR file in the libs directory with standard Gradle dependency configuration.

This library fills a gap in Android development since the platform's native image handling doesn't have built-in APNG support despite the format being a standardized PNG extension. It targets developers building media-rich Android applications that need to work with animated PNG content.

Share this video

More from oupson

See all →