Yellow-Dog-Man / FreeImage

Customized fork of the FreeImage library
Other
11 stars 6 forks source link

WebP Multithreading #13

Closed jonnyawsom3 closed 4 months ago

jonnyawsom3 commented 5 months ago

Previously config.thread_level was lowered to 1 as a 'fix', but I believe this was mistaken for the config.method setting directly below it. (Unless the multithreading caused issues with the update) Later config.method was also lowered to 0 after performance issues were noticed, but config.thread_level was untouched.

I believe increasing config.thread_level back to 6 should restore multithreaded saving of screenshots, and reduce save times proportionally with resolution.

jonnyawsom3 commented 4 months ago

Nevermind, turns out lossless WebP doesn't have multithreading. Only 2 thread encoding when brute forcing on the slowest setting...