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
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import (
) )
var ( 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:-"} jpgArgs = []string{"-thumbnail", "512x512^", "-gravity", "center", "-extent", "512x512", "-quality", "80", "jpg:-"}
) )