Guetzli JPEG Encoder does not work

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

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

Guetzli JPEG Encoder does not work

Post by masterjp »

Today I want to test the Guetzli jpeg encoder, but it did not work. In the past it worked very well.

I loaded a jpeg file (4000x3000 pixel), resized the picture to 2048 (longest side) and use the save as dialog to save it. I do not get a file.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
cday
XnThusiast
Posts: 4132
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Guetzli JPEG Encoder does not work

Post by cday »

masterjp wrote: Sat Jul 13, 2019 8:33 am Today I want to test the Guetzli jpeg encoder, but it did not work. In the past it worked very well.

I loaded a jpeg file (4000x3000 pixel), resized the picture to 2048 (longest side) and use the save as dialog to save it. I do not get a file.

I believe past experience is that the Guetzli encoder can take a *very* long time to produce an output for an image with large pixel dimensions, and think I recall reading when it was introduced that it was principally intended to reduce the filesize of images on downloaded on web pages...

The Wikipedia Guetzli page among other resources online should provide some background.
User avatar
masterjp
Posts: 449
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: Guetzli JPEG Encoder does not work

Post by masterjp »

It is a pity that Google or the developers of Guetzli Encoder do not develop the program further. Multi-threading support would make it more attractive. But you are right. Mozilla's JPEG encoder is much faster and comparable.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
User avatar
XnTriq
Moderator & Librarian
Posts: 6366
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Guetzli JPEG Encoder does not work

Post by XnTriq »

Related:
xnview wrote: Wed Mar 27, 2019 2:55 pm
Elk wrote: Wed Mar 27, 2019 2:05 pmYes, that works. Why does it not work with the other one?
There is some limitation of pixels size with jpeg Guetzli
m.Th. wrote: Tue Jan 30, 2018 9:34 am
xnview wrote:yes, guetzli has a limitation, you need to use quality >= 84
First off, this should be mentioned in a stop dialogue / warning /ban etc.

Even so it has problems. If I try to convert CR2 (Raw option = 'embedded preview') files to Guetzli JPG it runs forever. Clicking on [x] button from Batch Convert it closes the dialog before it finishes (!), but the Guetzli.exe is still running in the background consuming an entire core and a lot of memory.

Also, with simple JPEG it seems to fail if in Write Settings the 'Rebuild embedded EXIF thumbnail' option is checked.
User avatar
masterjp
Posts: 449
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: Guetzli JPEG Encoder does not work

Post by masterjp »

My mistake. I used 80 % quality setting for guetzli. :-(
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
User avatar
XnTriq
Moderator & Librarian
Posts: 6366
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Guetzli JPEG Encoder does not work

Post by XnTriq »

masterjp wrote: Sat Jul 13, 2019 8:59 pmMy mistake. I used 80 % quality setting for guetzli. :-(
Thanks for reporting back, masterjp (-:

A warning message (as requested by m.Th.) would be highly desirable.
User avatar
LigH
Posts: 13
Joined: Thu Mar 15, 2007 9:01 am

Re: Guetzli JPEG Encoder does not work

Post by LigH »

masterjp wrote: Sat Jul 13, 2019 3:26 pm Multi-threading support would make it more attractive.
There is now a heavily parallelized version, supporting CUDA on Nvidia GPUs, alternatively OpenCL, and there is even a multithreaded C routine fallback.

A version with pre-enebled auto mode is attached to: https://github.com/doterax/guetzli-cuda ... /issues/11

PS: More details were discussed here already in this thread: Guetzli cuda support
Kadet
Posts: 124
Joined: Thu Oct 20, 2022 7:23 pm

Re: Guetzli JPEG Encoder does not work

Post by Kadet »

Currently, you can forget about Guetzli, because Jpegli is better than it in every aspect.
And Jpegli is present in the latest version of XnView.
User avatar
LigH
Posts: 13
Joined: Thu Mar 15, 2007 9:01 am

Re: Guetzli JPEG Encoder does not work

Post by LigH »

Thank you for this remark, I will need to get to know more about it, and I already have a guess who might know more...

Just one quick question: Is it decoder compatible to JPEG or does it require JPEG-XL format and decoders?