reduce max size a little

This commit is contained in:
Ted Unangst 2019-10-04 21:24:15 -04:00
parent 70354077f3
commit 5672db2380
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ func savedonk(url string, name, desc, media string, localize bool) *Donk {
}
if strings.HasPrefix(media, "image") {
img, err := image.Vacuum(&buf,
image.Params{LimitSize: 4800 * 4800, MaxWidth: 2048, MaxHeight: 2048})
image.Params{LimitSize: 4200 * 4200, MaxWidth: 2048, MaxHeight: 2048})
if err != nil {
log.Printf("unable to decode image: %s", err)
localize = false