Skip to content

Commit af20a19

Browse files
authored
Update README.md
1 parent b78c684 commit af20a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)