What I've got to pull the pixel data thus far:

Code:
var c = document.createElement('canvas');
var ctx = c.getContext("2d");
var image = new Image();
image.src = "../../../dress-up/avatar/vend/10006349_tot_month.png";
ctx.drawImage(image, 0, 0, image.width, image.height);
var data = ctx.getImageData(0,0,image.width,image.height);
For example, executing it from the marketplace item listings page.

If you do image = document.getElementById ,
you get security errors because gaia doesnt like cross-origin data so you have to pull the url like I have done and set the src for it trk.