From b3a47c845a20e3d32e333f5fe86dda7df791c61a Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Sun, 18 Dec 2022 20:25:29 -0800 Subject: [PATCH] bump upscale factor --- lib/png/generate_png.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/png/generate_png.js b/lib/png/generate_png.js index 735100662..8c1c40806 100644 --- a/lib/png/generate_png.js +++ b/lib/png/generate_png.js @@ -11,8 +11,8 @@ async (imgString) => { }; const img = await loadImage(); const canvas = document.createElement("canvas"); - canvas.width = img.width * 1.5; - canvas.height = img.height * 1.5; + canvas.width = img.width * 2; + canvas.height = img.height * 2; const ctx = canvas.getContext("2d"); if (!ctx) { return new Error("could not get canvas context");