I want to split a large image into a number of smaller images and then perform some data manipulation on those smaller images. The second part is fine as I can pass the data to a web-worker, but the splitting of the image uses canvas (so no web-worker), and makes the rest of the page unresponsive whilst it is running.
This wouldn't be a problem really except the loading animation pauses, rendering it pointless.
What is the best way to go about performing the image-splitting canvas operations without freezing the GUI?