feat: switch to pure-rust jxl decoder

this makes the logic drastically simpler;
as it comes with image crate integration.

however, images can no longer be saved as JXL with this version
(as jxl-oxide is decoder-only)
This commit is contained in:
electria 2026-07-29 15:58:08 -07:00
commit 5a83fe39e9
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs
5 changed files with 238 additions and 201 deletions

View file

@ -8,8 +8,12 @@ license = "AGPL-3.0-or-later"
iced = { version = "0.14.0", features = [ "image" ] }
dirs = "6.0.0"
rfd = "0.17.2"
jpegxl-rs = "0.14.0"
[dependencies.image]
version = "0.25.10"
features = [ "avif-native" ]
[dependencies.jxl-oxide]
version = "0.12.6"
# I really wish the image crate was named better
features = [ "image" ]