An android library to create or display apng
Go to file
oupson 2074206d3d Add apng viewer activity (Main2Activity) 2018-10-07 22:54:29 +02:00
.idea Add apng viewer activity (Main2Activity) 2018-10-07 22:54:29 +02:00
apng_library Add better support and stability 2018-10-05 21:38:13 +02:00
app-test Add apng viewer activity (Main2Activity) 2018-10-07 22:54:29 +02:00
gradle/wrapper Initial commit 2018-09-27 22:05:08 +02:00
.gitignore Initial commit 2018-09-27 22:05:08 +02:00
LICENSE Create LICENSE 2018-09-29 21:38:44 +02:00
README.md Update README.md 2018-10-05 21:51:13 +02:00
build.gradle Initial commit 2018-09-27 22:05:08 +02:00
gradle.properties Initial commit 2018-09-27 22:05:08 +02:00
gradlew Initial commit 2018-09-27 22:05:08 +02:00
gradlew.bat Initial commit 2018-09-27 22:05:08 +02:00
settings.gradle Initial commit 2018-09-27 22:05:08 +02:00

README.md

Kapng-Android

An android library to create or display apng

Exemple of apng :

apng-example

How to use this library :

To load animated png to an imageview :


val imageUrl = "https://upload.wikimedia.org/wikipedia/commons/1/14/Animated_PNG_example_bouncing_beach_ball.png" // image url could be an url, or a file path. You could also load byteArray and file

val animator = ApngAnimator(imageView)
animator.load(imageUrl)

animator.play()

To create animated png : WORK IN PROGRESS