feat: make avatars bigger + higher quality

This commit is contained in:
Sam 2022-11-20 14:34:25 +01:00
parent 8df95a78ef
commit 459e525415

View file

@ -14,8 +14,8 @@ import (
) )
var ( var (
webpArgs = []string{"-resize", "256x256", "-quality", "50", "webp:-"} webpArgs = []string{"-resize", "512x512", "-quality", "80", "webp:-"}
jpgArgs = []string{"-resize", "256x256", "-quality", "50", "jpg:-"} jpgArgs = []string{"-resize", "512x512", "-quality", "80", "jpg:-"}
) )
const ErrInvalidDataURI = errors.Sentinel("invalid data URI") const ErrInvalidDataURI = errors.Sentinel("invalid data URI")