fix: fix avatars losing transparency (closes #39)

This commit is contained in:
Sam 2023-03-29 11:36:20 +02:00
parent 7d25d12722
commit bca0404b71
Signed by: sam
GPG key ID: B4EF20DDE721CAA1

View file

@ -16,7 +16,7 @@ import (
)
var (
webpArgs = []string{"-thumbnail", "512x512^", "-gravity", "center", "-extent", "512x512", "-quality", "90", "webp:-"}
webpArgs = []string{"-thumbnail", "512x512^", "-gravity", "center", "-background", "none", "-extent", "512x512", "-quality", "90", "webp:-"}
jpgArgs = []string{"-thumbnail", "512x512^", "-gravity", "center", "-extent", "512x512", "-quality", "80", "jpg:-"}
)