Function htmlToPng

  • Renders an HTML string to a png. This is done by first embedding HTML into a svg and then rendering the svg to a png.

    Parameters

    Returns Promise<string>

    png as data url

Generated using TypeDoc