The JPEG-XL team has released a high precision JPEG encoder called "Jpegli" which can produce JPEG files with less banding in gradients that remain compatible with existing decoders. To extract all of the encoded data, a better decoder must be used in the viewer. When opening regular JPEG files, the difference is not significant. It is probably slower, but not extremely so. Higher precision can be realized even in 8-bit sRGB, which IrfanView deals with. I wonder if it could be added to IrfanView without too many extra dependencies, which unfortunately made the XL plugin big and require modern Windows.
On the Git page, there is an exe encoder and decoder that can be used on Windows NT 6.1 and later. It can be integrated into audio encoder front-ends like Frontah for batch processing. They are statically compiled 3MB each.
The encoder also claims to produce slightly smaller files for a given quality, but in this day that is less important.
Examples best judged against a dark background.
gradient_16.png: source image without dithering
gradient_16_direct_irfan.jpg : encoded by IrfanView / jpeg-turbo directly
gradient_16_LI.jpg : encoded by Li (shows banding with mainstream viewers)
gradient_16_LI.png : encoded by Li and decoded by Li to 8-bit (banding disappears)
gradient_16_LI_Ps_dither.png : encoded by Li and decoded by Li to 16-bit, then dithered to 8-bit (best result)
gradient_8_dither_irfan.jpg : Photoshop CS2 noise shaping, overall superior, but larger size
NOTE: Images provided inside a Zip-file because the forum software transcodes them and the difference is lost.
On the Git page, there is an exe encoder and decoder that can be used on Windows NT 6.1 and later. It can be integrated into audio encoder front-ends like Frontah for batch processing. They are statically compiled 3MB each.
The encoder also claims to produce slightly smaller files for a given quality, but in this day that is less important.
Examples best judged against a dark background.
gradient_16.png: source image without dithering
gradient_16_direct_irfan.jpg : encoded by IrfanView / jpeg-turbo directly
gradient_16_LI.jpg : encoded by Li (shows banding with mainstream viewers)
gradient_16_LI.png : encoded by Li and decoded by Li to 8-bit (banding disappears)
gradient_16_LI_Ps_dither.png : encoded by Li and decoded by Li to 16-bit, then dithered to 8-bit (best result)
gradient_8_dither_irfan.jpg : Photoshop CS2 noise shaping, overall superior, but larger size
NOTE: Images provided inside a Zip-file because the forum software transcodes them and the difference is lost.
Comment