Skip to content

Commit

Permalink
Make PNG smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
kissge committed Nov 15, 2023
1 parent 0a17510 commit 3bf24a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
}
}

this.result.png = await CanvasRenderer.renderToDataURL(qr, { scale: 40 });
this.result.png = await CanvasRenderer.renderToDataURL(qr, { scale: 10 });
this.result.svg = await renderSVG(qr);
},
downloadSVG() {
Expand Down

0 comments on commit 3bf24a5

Please sign in to comment.