On a side note, what is your take on AVIF vs WebP? I recently moved my site to 11ty and looking to re-encode several hundreds of images. I do want to keep the quality of the photos as much as I can, while reducing the network load.
jpegli JPEGs will convert to lossy JPEG XL without generation loss when JPEG XL is more well supported.