I have an asp.net web app.
I use web sockets and HTML5/canvas to render images to my web page.
This is the JS for this:
function setUpImageProc()