From 459e525415519279bf43280d8368132540ebe646 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 20 Nov 2022 14:34:25 +0100 Subject: [PATCH] feat: make avatars bigger + higher quality --- backend/db/avatars.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/db/avatars.go b/backend/db/avatars.go index c4efa4e..11790ae 100644 --- a/backend/db/avatars.go +++ b/backend/db/avatars.go @@ -14,8 +14,8 @@ import ( ) var ( - webpArgs = []string{"-resize", "256x256", "-quality", "50", "webp:-"} - jpgArgs = []string{"-resize", "256x256", "-quality", "50", "jpg:-"} + webpArgs = []string{"-resize", "512x512", "-quality", "80", "webp:-"} + jpgArgs = []string{"-resize", "512x512", "-quality", "80", "jpg:-"} ) const ErrInvalidDataURI = errors.Sentinel("invalid data URI")