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

@ -175,6 +175,8 @@ impl State {
}
fn main() -> Result<(), iced::Error> {
jxl_oxide::integration::register_image_decoding_hook();
iced::application(State::new, State::update, State::view)
.subscription(State::subscription)
.title(State::title)