image_optim icon indicating copy to clipboard operation
image_optim copied to clipboard

Add support for jpegli

Open jwillikers opened this issue 7 months ago • 2 comments

jpegli is an improved JPEG encoder/decoder that backports applicable new techniques of JPEG XL to JPEG. This encoder can reduce the size of jpeg's optimized with image_optim at quality 100 level settings, though it requires decoding and then re-encoding with djpegli and cjpegli respectively to produce the result.

jwillikers avatar Jun 02 '25 13:06 jwillikers

Turns out can't re-encode while being truly lossless: https://github.com/google/jpegli/issues/10#issuecomment-2221735156

jwillikers avatar Jun 03 '25 16:06 jwillikers

worker can be marked lossy, but does it improve over using jpegrecompress?

toy avatar Jun 08 '25 15:06 toy