chore: remove lines left over from imagemagick

This commit is contained in:
Sam 2023-03-30 15:19:44 +02:00
parent ab39f64ad5
commit 0ce6453bf7
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 0 additions and 5 deletions

View File

@ -21,11 +21,6 @@ import (
"github.com/chai2010/webp" "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 ErrInvalidDataURI = errors.Sentinel("invalid data URI")
const ErrInvalidContentType = errors.Sentinel("invalid avatar content type") const ErrInvalidContentType = errors.Sentinel("invalid avatar content type")