News for hackers. Stuff that matters.
Re:Console.image - Images in Chrome Dev tools by flgr on Saturday June 29, 2013 @09:07AM (#5962268)
Would it be possible to use this to render the current state of a canvas to the console? That's something I'd find very useful for debugging.

Edit 1: Looks like they build the memes exactly that way. It still needs to convert the canvas to a data: url first, however, which might be a bit slow?

Edit 2: Looks like there might be a better, but non-standard and non-portable way of achieving that in WebKit browsers: http://updates.html5rocks.com/2012/12/Canvas-driven-backgrou...

Re:Console.image - Images in Chrome Dev tools by adriancooney on Saturday June 29, 2013 @09:00PM (#5964300)
Check out a new sister project!

https://github.com/dunxrion/console.snapshot

Re:Console.image - Images in Chrome Dev tools by ycitm on Saturday June 29, 2013 @09:13AM (#5962283)
Looks like it: `console.image(canvas.toDataURL());`
Re:Console.image - Images in Chrome Dev tools by FWeinb on Saturday June 29, 2013 @11:55AM (#5962756)
To bad that it is not working with a background canvas. http://codepen.io/FWeinb/pen/0378ed8ad8a56f4f989ed8085baf5cd...