Skip to content

Commit 95ece44

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents b0bafc4 + af20a19 commit 95ece44

File tree

3 files changed

+29
-168
lines changed

3 files changed

+29
-168
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Radzivon Bartoshyk
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

LICENSE.md

Lines changed: 0 additions & 166 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Supported decoding in all necessary pixel formats in Android and avoids android
1313
# Usage example
1414

1515
```kotlin
16-
// May decode AVIF(AV1) and HEIC (HEVC) images, all HDR images currently will be converted in 8bit
16+
// May decode AVIF(AV1) and HEIC (HEVC) images, HDR images supported
1717
val bitmap: Bitmap = HeifCoder().decode(buffer) // Decode avif from ByteArray
1818
val bytes: ByteArray = HeifCoder().encodeAvif(decodedBitmap) // Encode Bitmap to AVIF
1919
val bytes = HeifCoder().encodeHeic(bitmap) // Encode Bitmap to HEIC / Supports HDR in RGBA_F16, RGBA_1010102, HARDWARE
@@ -38,7 +38,13 @@ repositories {
3838
```
3939

4040
```groovy
41-
implementation 'com.github.awxkee:avif-coder:1.4.0' // or any version above picker from release tags
41+
implementation 'com.github.awxkee:avif-coder:1.4.2' // or any version above picker from release tags
42+
43+
// Glide JPEG XL plugin if you need one
44+
implementation 'com.github.awxkee:avif-coder-glide:1.4.2' // or any version above picker from release tags
45+
46+
// Coil JPEG XL plugin if you need one
47+
implementation 'com.github.awxkee:avif-coder-coil:1.4.2' // or any version above picker from release tags
4248
```
4349

4450
# Also supports coil integration

0 commit comments

Comments
 (0)