Add optional Web Worker support to prevent UI blocking on large images #1396
tapava
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I've been using Jimp for some image processing in a web app and ran into the classic problem: processing large images (5MB+) blocks the main thread and freezes the UI.
I built a library called ComputeKit that makes it easy to run CPU-heavy work in Web Workers, and, in my opinion, works great with Jimp:
Would there be interest in adding native worker support to Jimp? A few approaches:
I'm happy to help with implementation if this is something you'd consider.
Thanks for reading!
Beta Was this translation helpful? Give feedback.
All reactions