Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%)

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
masterjp
Posts: 471
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%)

Post by masterjp »

Here is an article about a new JPEG Encoder - Guetzli JPEG Encoder. It produces up to 35% smaller files by better compression.
The pictures have fewer artifacts than standard jpegs.
The algorithm is open source and you can find it at github. Demo programs for Windows, Linux, etc. (32 or 64bit) are also available.
The results will be fantastic, if you have big jpeg file (e.g. 5 MB jpeg compressed to 1-2 MB.).
The only disadvantage is the slower speed of the jpeg encoder. The reason is the missing multi core support. It takes much time.

Article:
========
https://research.googleblog.com/2017/03 ... -jpeg.html

Source-Code:
============
https://github.com/google/guetzli

Guetzli JPEG encoder binaries (Windows/Linux/etc.):
==============================================
https://github.com/google/guetzli/releases
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by m.Th. »

+1 as an option
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
Sirio
Posts: 132
Joined: Tue Oct 13, 2015 3:22 pm

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by Sirio »

Good Idea.
Here another SSIM compressor for JPEG:
https://github.com/danielgtaylor/jpeg-archive
Really powerful.
Sirio
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by xnview »

so an option in jpeg setting to use this encoder?
Pierre.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by m.Th. »

yes, IMHO ...with a proper caption: "Use Guertzli Encoder (smaller files, slower saves)" - this is exactly how Photoshop writes it (in other cases, of course).
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by xnview »

m.Th. wrote:yes, IMHO ...with a proper caption: "Use Guertzli Encoder (smaller files, slower saves)" - this is exactly how Photoshop writes it (in other cases, of course).
'Guertzli Encoder' exists in PS?
Pierre.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by m.Th. »

xnview wrote:
m.Th. wrote:yes, IMHO ...with a proper caption: "Use Guertzli Encoder (smaller files, slower saves)" - this is exactly how Photoshop writes it (in other cases, of course).
'Guertzli Encoder' exists in PS?
Not the codec itself, just the language. In the image below it explains very clearly what RLE and ZIP do from the user's perspective:
Compression types.jpg
Compression types.jpg (8.17 KiB) Viewed 2288 times
IMHO this kind of text we need here.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
Sirio
Posts: 132
Joined: Tue Oct 13, 2015 3:22 pm

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by Sirio »

In fact, it could be there a check box in order to activate it, near the already present:
Progressive, Optimise Huffman table, Remove all Metadata, Rebuild embedded thumbnail, etc...

Personally I never tried the Guertzli Encoder, but the jpeg-archive yes. And I can tell you that there is a visible difference.
Sirio
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by xnview »

ok, but it will perhaps better to have Guertzli as Tools, because often users want to recompress files without opening them
Pierre.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by m.Th. »

xnview wrote:ok, but it will perhaps better to have Guertzli as Tools, because often users want to recompress files without opening them
Perhaps. But surely we need it as an option for saving. Batch Convert / Save / Save As... / Export etc.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Major Tom
Posts: 10
Joined: Fri Jan 13, 2017 2:23 pm

Re: Guertzli JPEG Encoder - smaller JPEG filesize (up to 35%

Post by Major Tom »

+1 - Guertzli as additional would be great!
Post Reply