From 0ce6453bf7fb04c6008b3bd2e041738b70b499ca Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 30 Mar 2023 15:19:44 +0200 Subject: [PATCH] chore: remove lines left over from imagemagick --- backend/db/avatars.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/db/avatars.go b/backend/db/avatars.go index f28059e..a3ca1ca 100644 --- a/backend/db/avatars.go +++ b/backend/db/avatars.go @@ -21,11 +21,6 @@ import ( "github.com/chai2010/webp" ) -var ( - webpArgs = []string{"-thumbnail", "512x512^", "-gravity", "center", "-background", "none", "-extent", "512x512", "-quality", "90", "webp:-"} - jpgArgs = []string{"-thumbnail", "512x512^", "-gravity", "center", "-extent", "512x512", "-quality", "80", "jpg:-"} -) - const ErrInvalidDataURI = errors.Sentinel("invalid data URI") const ErrInvalidContentType = errors.Sentinel("invalid avatar content type")