title: Access Canvas RGB Data and Assemble Image in PHP
body: <p>I need to be able to access a canvas' imagedata, however it's stored in some kind of array (UINT8 or something) that prevents me from accessing the data. Specifically, I need to get the RGB data of the entire canvas.</p>
  
  <p>Assuming that can be done, how could I (in PHP) reconstruct the canvas image properly from the RGB data array? The browser this application is for lacks "toDataURL()", so I'd prefer to accomplish this as specified please.</p>