reduce max size a little
Ted Unangst tedu@tedunangst.com
Fri, 04 Oct 2019 21:24:15 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -158,7 +158,7 @@ log.Printf("truncation likely")
} 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