News for hackers. Stuff that matters.
Re:Show HN: jsgif: A GIF player in JavaScript by de90 on Monday April 04, 2011 @10:09AM (#2406439)
Why not just do something like the below when you need to do that?

  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 :) )

There are no comments on this comment yet.