Hacker News new | ask | show | jobs
by tabbyjabby 5205 days ago
Cool. How does it turn the HTML into an actual jpg image?
1 comments

http://stackoverflow.com/questions/934012/get-image-data-in-...

An important caveat is if you have any images in the canvas, they should be hosted on the same domain or you have to resort to CORS workarounds http://en.wikipedia.org/wiki/Cross-origin_resource_sharing