chrontax / comiconv

Comic book converter written in rust
Apache License 2.0
10 stars 1 forks source link

[FR] Add support for JPEG XL #1

Open murlakatamenka opened 5 days ago

murlakatamenka commented 5 days ago

The reasoning is simple:

JPEG XL can losslessly reduce the size of an image in any popular image format, it's important for already lossy .jpg's in existing comic books.

Sadly it's not supported in image crate, but jpegxl-sys exists.

chrontax commented 5 days ago

I can't use jpegxl-sys due to a licensing issue (comiconv is mit/apache and jpegxl is gpl), but zune-jpegxl for encoding and jxl-oxide for decoding might work (and it would be pure rust).

chrontax commented 19 hours ago

Check whether it works for you too.