From d9bbdd8dca514093c330a2c77c41981a8e223211 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 30 Mar 2025 20:38:47 -0700 Subject: [PATCH] revert --- src/lib/components/chat/Settings/Account.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/components/chat/Settings/Account.svelte b/src/lib/components/chat/Settings/Account.svelte index 2e2c827cf..6b3eba153 100644 --- a/src/lib/components/chat/Settings/Account.svelte +++ b/src/lib/components/chat/Settings/Account.svelte @@ -132,8 +132,7 @@ ctx.drawImage(img, offsetX, offsetY, newWidth, newHeight); // Get the base64 representation of the compressed image - const jpegQuality = 0.15; - const compressedSrc = canvas.toDataURL('image/jpeg', jpegQuality); + const compressedSrc = canvas.toDataURL('image/jpeg'); // Display the compressed image profileImageUrl = compressedSrc;