Option to select default jpeg encoder

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: XnTriq, helmut, xnview, Dreamer

2Gjv1VgGK
Posts: 4
Joined: Thu Sep 29, 2016 8:12 am

Option to select default jpeg encoder

Post by 2Gjv1VgGK »

Hello. It would be very useful to have an option to select default JPEG encoder (JPEGLI, JPEG/JFIF, etc). Now when you press "Save" on jpeg-file it compresses with JPEG/JFIF and I can't find a way to change that. I want file to be encoded as JPEGLI by default, when saving.
User avatar
xnview
Author of XnView
Posts: 45219
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Option to select default jpeg encoder

Post by xnview »

you can choose between 'JPEG' / 'JPEGLI'
Pierre.
Kadet
Posts: 172
Joined: Thu Oct 20, 2022 7:23 pm

Re: Option to select default jpeg encoder

Post by Kadet »

xnview wrote: Sat May 04, 2024 12:52 pm you can choose between 'JPEG' / 'JPEGLI'
The choice is only when You click "Save As", but not when You click "Save" (Ctrl+S) after open jpeg file. In this case jpeg is only from JPEG / JFIF codec (jpeg-turbo?).

IMHO since Jpegli is the best, I would permanently set it to "Save".
User avatar
xnview
Author of XnView
Posts: 45219
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Option to select default jpeg encoder

Post by xnview »

so it will better to choose encoder in Settings>Write>JPEG?
Pierre.
Kadet
Posts: 172
Joined: Thu Oct 20, 2022 7:23 pm

Re: Option to select default jpeg encoder

Post by Kadet »

xnview wrote: Mon Dec 16, 2024 8:38 am so it will better to choose encoder in Settings>Write>JPEG?
Good idea.
User avatar
xnview
Author of XnView
Posts: 45219
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Option to select default jpeg encoder

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 45219
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Option to select default jpeg encoder

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.4. Please check and confirm the bug fix here.
Pierre.
Kadet
Posts: 172
Joined: Thu Oct 20, 2022 7:23 pm

Re: Option to select default jpeg encoder

Post by Kadet »

I can not confirm fixing this.
When I make some test image in Export using Jpeg-li setting 98% quality, this new file has estimated 88% quality, which is correct for this codec.
When I open this image, set in setting for JPG files exactly this same parameters like in Export and make Ctrl+S, the new file is much bigger with estimated 98% quality, like in older JPG codec.
User avatar
xnview
Author of XnView
Posts: 45219
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Option to select default jpeg encoder

Post by xnview »

Kadet wrote: Thu Feb 06, 2025 8:52 pm I can not confirm fixing this.
When I make some test image in Export using Jpeg-li setting 98% quality, this new file has estimated 88% quality, which is correct for this codec.
When I open this image, set in setting for JPG files exactly this same parameters like in Export and make Ctrl+S, the new file is much bigger with estimated 98% quality, like in older JPG codec.
Do you have choosen JPEG-li in settings>Write>JPEG?
Pierre.
Kadet
Posts: 172
Joined: Thu Oct 20, 2022 7:23 pm

Re: Option to select default jpeg encoder

Post by Kadet »

xnview wrote: Fri Feb 07, 2025 7:05 am Do you have choosen JPEG-li in settings>Write>JPEG?
Yes, this option is ON.
User avatar
xnview
Author of XnView
Posts: 45219
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Option to select default jpeg encoder

Post by xnview »

right, reopened
Pierre.