mirror of
https://github.com/andrewstephens75/as-dithered-image.git
synced 2026-04-14 12:29:30 -07:00
Prevent lengthy processing if the element is offscreen
removed some console messages
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
onmessage = function (e) {
|
||||
console.log("Worker: start", e.data)
|
||||
|
||||
const result = dither(e.data.imageData, e.data.pixelSize, e.data.cutoff)
|
||||
const reply = {}
|
||||
|
||||
Reference in New Issue
Block a user