Fast Guetzli JPEG Encoder with CUDA/Open CL at github

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

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

Fast Guetzli JPEG Encoder with CUDA/Open CL at github

Post by masterjp »

The developer of FileOptimizer (https://nikkhokkho.sourceforge.io/stati ... eOptimizer)
use a free guetzli jpeg encoder executable file with CPU/CUDA/OPEN CL hardware acceleration.
The benchmarks are amazing and the best of it - the program can detect your GPU and choose the fastest way to save a guetzli jpeg file.

You can replace the existing guetzli encoder exe of xnviewmp with this one.
Every user with or without compatible GPU can use it.
I think you need the paramter --c for auto detection of the hardware.

Website:
https://github.com/ianhuang-777/guetzli-cuda-opencl
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
jgutierrez
Posts: 53
Joined: Tue Nov 15, 2005 9:25 am

Re: Fast Guetzli JPEG Encoder with CUDA/Open CL at github

Post by jgutierrez »

masterjp wrote: Sun Feb 20, 2022 7:21 pm The developer of FileOptimizer (https://nikkhokkho.sourceforge.io/stati ... eOptimizer)
use a free guetzli jpeg encoder executable file with CPU/CUDA/OPEN CL hardware acceleration.
The benchmarks are amazing and the best of it - the program can detect your GPU and choose the fastest way to save a guetzli jpeg file.

You can replace the existing guetzli encoder exe of xnviewmp with this one.
Every user with or without compatible GPU can use it.
I think you need the paramter --c for auto detection of the hardware.

Website:
https://github.com/ianhuang-777/guetzli-cuda-opencl
Agree with the sujection, and thank you so much for using FileOptimizer.
jgutierrez
Posts: 53
Joined: Tue Nov 15, 2005 9:25 am

Re: Fast Guetzli JPEG Encoder with CUDA/Open CL at github

Post by jgutierrez »

BTW, version used at FileOptimizer is this one:
https://github.com/doterax/guetzli-cuda ... its/master
User avatar
masterjp
Posts: 452
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: Fast Guetzli JPEG Encoder with CUDA/Open CL at github

Post by masterjp »

Thanks for your post.

I took the guetzli encoder link from the main FileOptimizer website, but I should be the old one. :|
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
Tschens
Posts: 53
Joined: Sat May 12, 2018 7:38 am

Re: Fast Guetzli JPEG Encoder with CUDA/Open CL at github

Post by Tschens »

I think the CUDA version will NOT work with XN_View by simply exchanging the exe file in the plugin folder, since the CUDA version needs the parameter --CUDA in order to work 20x faster. I dont see any option how to set this parameter in XN_View. It simply calls the exe file from the plugin folder without any parameter, and this means: standard (slow) mode.
Olympus OMD E-M1, BS Kinetics underwater housing, 2xSubtronic pro 160 flashes. Zuiko mFT lenses: 60 macro, 7-14, 8 mm fisheye, 12-100, PanaLeica 100-400.
My Homepage | My book at Amazon
doterax
Posts: 6
Joined: Sat Nov 25, 2023 1:01 pm

Re: Fast Guetzli JPEG Encoder with CUDA/Open CL at github

Post by doterax »

Tschens wrote: Thu Nov 23, 2023 10:25 am I think the CUDA version will NOT work with XN_View by simply exchanging the exe file in the plugin folder, since the CUDA version needs the parameter --CUDA in order to work 20x faster. I dont see any option how to set this parameter in XN_View. It simply calls the exe file from the plugin folder without any parameter, and this means: standard (slow) mode.
We started working on this problem here