This commit is contained in:
Timothy Jaeryang Baek committed 2026-01-05 21:54:33 +04:00
1 parent bb821ab654
commit b1d30673b6
3 files changed
+3 -3

No files matched your search

@@ -201,7 +201,7 @@
ctx.drawImage(img, offsetX, offsetY, newWidth, newHeight);
// Get the base64 representation of the compressed image
const compressedSrc = canvas.toDataURL('image/jpeg');
const compressedSrc = canvas.toDataURL('image/webp', 0.8);
// Display the compressed image
profileImageUrl = compressedSrc;