Better clipping for web #31

Merged
bombinans merged 3 commits from feature-clip-web-version into main 2025-03-26 07:59:04 +00:00
Showing only changes of commit 0f066251ca - Show all commits

View File

@ -73,7 +73,7 @@ export async function download_as_png (svg) {
const opts = { const opts = {
fitTo: { fitTo: {
mode: 'width', // If you need to change the size mode: 'width', // If you need to change the size
value: 400, value: 1200,
} }
}; };
const resvgJS = new resvg.Resvg(svgstr, opts) const resvgJS = new resvg.Resvg(svgstr, opts)