From 558fe2d5bb2a348e7866d23264cc618af8ca9679 Mon Sep 17 00:00:00 2001 From: Radzivon Bartoshyk Date: Fri, 15 Nov 2024 22:01:39 +0000 Subject: [PATCH] Scaling fixes --- CHANGELOG.md | 2 +- app/src/main/java/com/awxkee/jxlcoder/MainActivity.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af9df7f..24bae83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1 @@ -Improvements for f16, fixes for non standard cpu processors \ No newline at end of file +Updates old CPU features handling \ No newline at end of file diff --git a/app/src/main/java/com/awxkee/jxlcoder/MainActivity.kt b/app/src/main/java/com/awxkee/jxlcoder/MainActivity.kt index 29afdcf..2e6730c 100644 --- a/app/src/main/java/com/awxkee/jxlcoder/MainActivity.kt +++ b/app/src/main/java/com/awxkee/jxlcoder/MainActivity.kt @@ -182,7 +182,7 @@ class MainActivity : ComponentActivity() { // drawables.add(BitmapDrawable(resources, bitmap)) // } val encoded = - JxlCoder.encode(bitmap, channelsConfiguration = JxlChannelsConfiguration.RGBA, effort = JxlEffort.LIGHTNING) + JxlCoder.encode(bitmap, channelsConfiguration = JxlChannelsConfiguration.RGB, effort = JxlEffort.LIGHTNING) val decoded = JxlCoder.decodeSampled(encoded, preferredColorConfig = PreferredColorConfig.RGBA_8888, width = 1305 , height = 1295)