JacobDev1 / xl-converter

Easy-to-use image converter for modern formats. Supports multithreading, drag 'n drop, and downscaling.
https://codepoems.eu/xl-converter
Other
118 stars 4 forks source link

Lossless jpeg<->jxl conversion "misleading" UI #34

Closed pmiossec closed 1 month ago

pmiossec commented 1 month ago

First, I'm a new user so sorry if I don't get all the understanding of xl-converter settings. But from my knowledge of jxl, I had difficult time to try to understand what the conversion will do. So maybe I won't be the only one...

If the user want to convert from jpeg to jxl, the UI is not really clear if it will do a lossless conversion from jpeg to jxl or if it will convert the jpeg to the lossless jxl format. After finding and testing the "Reconstruct JPG from JPEG XL" setting, I now know that it is doing the 1st one. But both could make sense in different use cases.

I have the feeling that the "Lossless" option has a different behavior depending on the input format and it's difficult for the user to understand it:

I think some feedback/explanation to the user would be good. Or some UI changes in the settings. 2 possibilities:

Another thing: Is there a good reason to have put the jxl->jpeg lossless conversion "Reconstruct JPG from JPEG XL" in the PNG output format? Or is it a bug?

image

Because I would never look at it here if I wanted to use that feature. It makes more sense to have it in "JPG" format options for me.

Thanks in advance for the feedback.

Note: XL Converter v1.0.0 (Windows)

JacobDev1 commented 1 month ago

Yes, I was just working on it. Lossless JPEG Recompression will have its own dedicated options in the format selector.

How it currently works is detailed in the docs.

That option under PNG is there, because it was easy to implement this way. Not every JXL file will have reconstruction data, and having PNG as fallback is convenient.

JacobDev1 commented 1 month ago

I didn't put that option under JPEG for a good reason.

While it seems logical to put this under JPEG, this would result in users accidentally worsening the quality of their images in case reconstruction data isn't found. PNG is lossless and JPEG is lossy.

Dedicated options should clear up any confusion.

pmiossec commented 1 month ago

Thanks for the feedback. And for the great work!