Open BartvanS opened 5 years ago
When i give my svg a width this happens:
my code: saveSvgAsPng(document.getElementById(svgId), "Proefdruk.png", {width: '800px'});
the wanted result is more like this, but then with a width of 800px:
The width option sets the width XML attribute of the SVG node, which I believe simply crops the contents of the SVG and doesn't resize/stretch it.
width
When i give my svg a width this happens:
my code: saveSvgAsPng(document.getElementById(svgId), "Proefdruk.png", {width: '800px'});
the wanted result is more like this, but then with a width of 800px: