Update README.md
This commit is contained in:
parent
58ba64ee8a
commit
db5e7056e6
18
README.md
18
README.md
|
@ -33,3 +33,21 @@ apng.addFrames(BitmapFactory.decodeByteArray(file2.readBytes(), 0, file2.readByt
|
||||||
val apngByteArray = apng.generateAPNGByteArray()
|
val apngByteArray = apng.generateAPNGByteArray()
|
||||||
File("output file path").writeBytes(apngByteArray)
|
File("output file path").writeBytes(apngByteArray)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
How to install :
|
||||||
|
Via jitpack
|
||||||
|
```gradle
|
||||||
|
repositories {
|
||||||
|
maven { url "https://jitpack.io" }
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation 'com.github.oupson:Kapng-Android:1.0.0'
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Or put the aar file in /libs/ and verify that you have :
|
||||||
|
```gradle
|
||||||
|
dependencies {
|
||||||
|
implementation fileTree(include: ['*.aar'], dir: 'libs')
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue