Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) (#12745)

* Update Vendor github.com/nfnt/resize

* switch resize algo NearestNeighbor -> Bilinear
This commit is contained in:
6543 authored and GitHub committed 2020-09-06 20:53:33 +01:00
1 parent 332dbe7393
commit f7b3e06026
8 files changed
+298 -130

No files matched your search

+1 -1
View File
@@ -89,6 +89,6 @@ func Prepare(data []byte) (*image.Image, error) {
}
}
img = resize.Resize(AvatarSize, AvatarSize, img, resize.NearestNeighbor)
img = resize.Resize(AvatarSize, AvatarSize, img, resize.Bilinear)
return &img, nil
}