scijs/get-pixels

Synchronous call?

mertyildiran opened this issue · 1 comments

How can I make synchronous calls?

Like: var myImage = getPixels("image.png");

Not supported at the moment in order to maintain compatibility between browser and node APIs.

The problem is that on the browser you can't parse an image until you've waited at least one tick for the image parsing to complete.