Guetzli cuda support

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
Tschens
Posts: 53
Joined: Sat May 12, 2018 7:38 am

Re: Guetzli cuda support

Post by Tschens »

doterax wrote: Sat Nov 25, 2023 1:04 pm I have built guetzli with autodetection of best mode from the start.

You can download it from here https://github.com/doterax/guetzli-cuda ... /issues/11

If you experience some problems with it, you can write it in this issue.

Enjoy.
doterax, you are the hero of the day! Thank you, thank you. No idea what was wrong with my version (external dlls + error message from XNView), but your version works like a charm!!
Just put it in the plugins folder from XNView and overwrite the "original" guetzli_windows_x86-64.exe.
The XNview guys should consider to combine this faster version with their software in future, if doterax agrees with that.

Virus warning is obviously a false positive, no problem here with Kaspersky :D , checked at virustotal.com as well
Jens
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: Guetzli cuda support

Post by doterax »

Looks like it is a false positive virus warning. Because exe contains a compiled module for a CUDA and sources for the OpenCL. Maybe, maybe this looks like suspicious for some antiviruses :) And also delay loaded DLLs also suspicious :)

I have made an issue https://github.com/doterax/guetzli-cuda ... /issues/12 for now I have no idea how to fix it, but I will do something.
doterax
Posts: 6
Joined: Sat Nov 25, 2023 1:01 pm

Re: Guetzli cuda support

Post by doterax »

Tschens wrote: Sat Nov 25, 2023 3:33 pm
doterax wrote: Sat Nov 25, 2023 1:04 pm I have built guetzli with autodetection of best mode from the start.

You can download it from here https://github.com/doterax/guetzli-cuda ... /issues/11

If you experience some problems with it, you can write it in this issue.

Enjoy.
doterax, you are the hero of the day! Thank you, thank you. No idea what was wrong with my version (external dlls + error message from XNView), but your version works like a charm!!
Just put it in the plugins folder from XNView and overwrite the "original" guetzli_windows_x86-64.exe.
The XNview guys should consider to combine this faster version with their software in future, if doterax agrees with that.

Virus warning is obviously a false positive, no problem here with Kaspersky :D , checked at virustotal.com as well
Jens
Thank you Jens. Enjoy :)
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Guetzli cuda support

Post by m.Th. »

doterax wrote: Sat Nov 25, 2023 9:36 pm Looks like it is a false positive virus warning. Because exe contains a compiled module for a CUDA and sources for the OpenCL. Maybe, maybe this looks like suspicious for some antiviruses :) And also delay loaded DLLs also suspicious :)

I have made an issue https://github.com/doterax/guetzli-cuda ... /issues/12 for now I have no idea how to fix it, but I will do something.
I opened a ticket with Windows' team.

Vote here!

https://aka.ms/AAnt6p4
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
Tschens
Posts: 53
Joined: Sat May 12, 2018 7:38 am

Re: Guetzli cuda support

Post by Tschens »

m.Th. wrote: Sun Nov 26, 2023 5:24 pm I opened a ticket with Windows' team.
Vote here!
https://aka.ms/AAnt6p4
Thanks. Done.
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
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Guetzli cuda support

Post by m.Th. »

Fixed in Win11!
m.Th. wrote: Sat Nov 25, 2023 2:26 pm
doterax wrote: Sat Nov 25, 2023 1:04 pm I have built guetzli with autodetection of best mode from the start.

You can download it from here https://github.com/doterax/guetzli-cuda ... /issues/11

If you experience some problems with it, you can write it in this issue.

Enjoy.
Thanks a lot!

First problem:

I cannot download it because the latest Windows 11 with the latest MS Edge and latest MS Defender Antivirus finds a virus!

See below:

Cannot download.jpg

Virus.jpg

This is it: https://www.microsoft.com/en-us/wdsi/th ... ik.FL.B!ml
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
doterax
Posts: 6
Joined: Sat Nov 25, 2023 1:01 pm

Re: Guetzli cuda support

Post by doterax »

m.Th. wrote: Wed Nov 29, 2023 9:41 pm Fixed in Win11!
m.Th. wrote: Sat Nov 25, 2023 2:26 pm
doterax wrote: Sat Nov 25, 2023 1:04 pm I have built guetzli with autodetection of best mode from the start.

You can download it from here https://github.com/doterax/guetzli-cuda ... /issues/11

If you experience some problems with it, you can write it in this issue.

Enjoy.
Thanks a lot!

First problem:

I cannot download it because the latest Windows 11 with the latest MS Edge and latest MS Defender Antivirus finds a virus!

See below:

Cannot download.jpg

Virus.jpg

This is it: https://www.microsoft.com/en-us/wdsi/th ... ik.FL.B!ml
Cool!
User avatar
Tschens
Posts: 53
Joined: Sat May 12, 2018 7:38 am

Re: Guetzli cuda support

Post by Tschens »

In the meantime, I have programmed a small GUI for CUDA-guetzli with Visual Basic, where you can set the image quality and then automatically compress all jpg, png, tif or alternatively all image files which are located in the program folder. Since guetzli also removes all copyright notices, I also added a function based on exiftool to write the copyright data back into the file. And a few other practical functions for editing the metadata. See screenshot.
You do not have the required permissions to view the files attached to this post.
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: Guetzli cuda support

Post by doterax »

Tschens wrote: Tue Dec 12, 2023 11:04 am In the meantime, I have programmed a small GUI for CUDA-guetzli with Visual Basic, where you can set the image quality and then automatically compress all jpg, png, tif or alternatively all image files which are located in the program folder. Since guetzli also removes all copyright notices, I also added a function based on exiftool to write the copyright data back into the file. And a few other practical functions for editing the metadata. See screenshot.
Cool!
User avatar
Tschens
Posts: 53
Joined: Sat May 12, 2018 7:38 am

Re: Guetzli cuda support

Post by Tschens »

The next step would be to run several instances of guetzli in parallel as soon as more than 1 image file is available. However, the total number should be limited since guetzli uses lots of memory. I have to work for it, I am NOT a programmer.
If someone is interested I can provide the file. Use @ your own risk :-).
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