Moving canvas work into a Worker won't raise its size limit

A review comment I keep seeing on image-upload PRs goes like this: the huge photo produces a blank export, so move the drawing into a Worker with OffscreenCanvas. It sounds reasonable. A Worker has its own event loop, so maybe it has its own budget too. I measured it, and the answer is no. The Worker changes where the work runs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in