I\'m creating an application (based only on HTML, CSS and jQuery) where I will create an image based on layers (just a bunch of divs one above each other) and then I will need t
canvas.toDataURL()
also see:
canvas.toBlob()