From fb6ca738081925a88591b7902daeecaa73a5469a Mon Sep 17 00:00:00 2001 From: 0HyperCube <78500760+0HyperCube@users.noreply.github.com> Date: Sun, 12 Mar 2023 06:42:44 +0000 Subject: [PATCH] Make image downscaling have a configurable factor (#1044) Remove downscaling --- frontend/src/utility-functions/rasterization.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/frontend/src/utility-functions/rasterization.ts b/frontend/src/utility-functions/rasterization.ts index a110651a..8cb13c99 100644 --- a/frontend/src/utility-functions/rasterization.ts +++ b/frontend/src/utility-functions/rasterization.ts @@ -79,14 +79,7 @@ export async function extractPixelData(imageData: ImageBitmapSource): Promise MAX_IMAGE_SIZE || height > MAX_IMAGE_SIZE) { - width /= 2; - height /= 2; - } width = Math.floor(width); height = Math.floor(height);