Saturday 11 March 2017

How to send back a lot of images from node.js to client side?

I want to send 324 158x158 png images to client side from node.js. Then from client side I want to pick any of those images, and draw it on a canvas in the most efficient way. Assume I can't lazy load, and need to transfer them all together.

If it helps, they can be sent as Uint8ClampedArray arrays instead of image format.

Does anyone know how to approach this?

Thanks



via omega

No comments:

Post a Comment