We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b78c684 commit af20a19Copy full SHA for af20a19
README.md
@@ -13,7 +13,7 @@ Supported decoding in all necessary pixel formats in Android and avoids android
13
# Usage example
14
15
```kotlin
16
-// May decode AVIF(AV1) and HEIC (HEVC) images, all HDR images currently will be converted in 8bit
+// May decode AVIF(AV1) and HEIC (HEVC) images, HDR images supported
17
val bitmap: Bitmap = HeifCoder().decode(buffer) // Decode avif from ByteArray
18
val bytes: ByteArray = HeifCoder().encodeAvif(decodedBitmap) // Encode Bitmap to AVIF
19
val bytes = HeifCoder().encodeHeic(bitmap) // Encode Bitmap to HEIC / Supports HDR in RGBA_F16, RGBA_1010102, HARDWARE
0 commit comments