'image not completely loaded' Node.js large image rendering. 

I was having trouble loading large images up for rendering under node.js, getting:
"Error: Image given has not completed loading" errors. So changing the
chunked reader into a blocking file read solved the problem for me.