In my previous question, I managed to get a 2-dimensional array (in JavaScript) of rgb values from a canvas' imagedata. Now that I have it, is there a way to use PHP to reconstruct the canvas image from the 2D RGB array? Specifically, how do I get the 2D JS array into PHP (JSON I believe, but I don't know how) and then how do I use it to remake the image? :-)
Edit:
I forgot to mention that the browser lacks toDataURL(), which is why I'm trying this method.