Page 2 of 3
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Wed Mar 27, 2024 2:43 pm
				by pokuly
				Yeah, guetzli relies mainly on butteraugli. Jpegli also to some degree. So in some areas the results are similar but with guetzli other areas get blocky where with jpegli it doesn't.
Jpegli seems pretty mature.
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Fri Mar 29, 2024 1:58 am
				by forklab
				So waiting with hope for jpegli "from the box"
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Mon Apr 01, 2024 2:36 am
				by pokuly
				
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Thu Apr 04, 2024 2:23 pm
				by xnview
				See 
issue for current status and some details.
 
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Fri Apr 05, 2024 11:58 am
				by Kadet
				I hope, Pierre, that we can choose XYB color space (cjpegli ... --xyb), because it gives better quality with smaller file to YUV color space.
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Fri Apr 05, 2024 12:06 pm
				by xnview
				Kadet wrote: Fri Apr 05, 2024 11:58 am
I hope, Pierre, that we can choose XYB color space (cjpegli ... --xyb), because it gives better quality with smaller file to YUV color space.
 
first version will be only YUV
 
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Mon Apr 08, 2024 2:37 pm
				by xnview
				This problem is supposed to be fixed in 
XnView MP 1.7.1. Please check and confirm the bug fix here.
 
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Mon Apr 08, 2024 9:21 pm
				by Kadet
				OK. It's work in option "save As" and "Multi convert", but first I have to set ON this codec in Settings.
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Tue Apr 09, 2024 11:47 am
				by masterjp
				Thank you so much for the very fast solution to save JPEG files with the new JPEGLI encoder.
It saves so much time in my periodically conversion workflows. Fantastic.
The new jpegli encoder is a little bit hidden in the settings menu.
First you must disable the standard jpeg library and active the jpegli jpg format in settings menu.
Then it works perfect.
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Tue Apr 09, 2024 2:05 pm
				by pokuly
				Just for my understanding. Why may be the Xnview file bigger?
Here is what i mean. The Xnview file is 200kB bigger but the pure picture data must be the same
since jpegtran creates identical files out of out_cjpegli.jpg and out_Xnview.jpg
original.jpg 100% = 4.314.392 Bytes
cjpegli original.jpg out_cjpegli.jpg -q 86 --chroma_subsampling=420 = 2.686.324 Bytes
Xnview setting out_Xnview.jpg = 2.835.536 Bytes
			
		
				
			
 
						- jpegli.png (12.73 KiB) Viewed 4101 times
 
		
		
		
			 
jpegtran -optimize -progressive =  2.682.717 Bytes for both! output files
 
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Tue Apr 09, 2024 2:24 pm
				by xnview
				pokuly wrote: Tue Apr 09, 2024 2:05 pm
Just for my understanding. Why may be the Xnview file bigger?
 
please send me original, and 2 outputs file
 
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Tue Apr 09, 2024 7:59 pm
				by Kadet
				I confirm.
Smaller HD images have about 2kb difference. The larger test 4K image has a 27 kb difference.
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Tue Apr 09, 2024 8:13 pm
				by Kadet
				I did one more test — In XnView I turned off the Progressive option, which should result in a file that is a few kilos larger. It wasn't bigger. Therefore, I conclude that the selected Progressive option does not translate into jpegli parameters in XnView.
In cjpegli this is the "-p N" parameter N = 0..2.
When I added "-p 0" to cjpegli, the file grew to the size produced by XnView,
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Wed Apr 10, 2024 7:01 am
				by xnview
				Kadet wrote: Tue Apr 09, 2024 8:13 pm
I did one more test — In XnView I turned off the Progressive option, which should result in a file that is a few kilos larger. It wasn't bigger. Therefore, I conclude that the selected Progressive option does not translate into jpegli parameters in XnView.
In cjpegli this is the "-p N" parameter N = 0..2.
When I added "-p 0" to cjpegli, the file grew to the size produced by XnView,
 
right, i'll update it
 
			 
			
					
				Re: jpegli - new and clever jpeg encoder
				Posted: Wed Apr 10, 2024 1:14 pm
				by pokuly
				Nice! Should have spotted that myself.