bump upscale factor

This commit is contained in:
Alexander Wang 2022-12-18 20:25:29 -08:00
parent c657d5cce4
commit b3a47c845a
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -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");