Skip to content

Commit

Permalink
Scaling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Nov 15, 2024
1 parent d6de37a commit 558fe2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Improvements for f16, fixes for non standard cpu processors
Updates old CPU features handling
2 changes: 1 addition & 1 deletion app/src/main/java/com/awxkee/jxlcoder/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 558fe2d

Please sign in to comment.