Well done! Im looking for a png parser in javascript. I would like to load pngs with xmlhttprequest and them draw them on a canvas. Ever heard of one?
var img = new Image();
img.onload = function(){
//draw to canvas
};
img.src = "image.png";
Could be a stupid answer, or possibly it'd be better to do it your way?( Maybe I can learn something :) )https://developer.mozilla.org/en/Canvas_tutorial/Using_image...