Martin Delille Martin Delille - 1 year ago 170
Javascript Question

Render HTML to an image

Is there a way to render html to image like PNG? I know that it is possible with canvas but I would like to render standard html element like div for example.

Answer Source

Yes. HTML2Canvas exists to render HTML onto <canvas> (which you can then use as an image).

NOTE: There is a known issue, that this will not work with SVG

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download