Skip to content

Commit

Permalink
make room for footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Solka committed Oct 27, 2020
1 parent e44633e commit aacee7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func readerToImage(width uint, height uint, url string, r io.Reader) (string, er
}

func imageToString(width, height uint, url string, img image.Image) (string, error) {
img = resize.Thumbnail(width, height*2, img, resize.Lanczos3)
img = resize.Thumbnail(width, height*2-4, img, resize.Lanczos3)
b := img.Bounds()
w := b.Max.X
h := b.Max.Y
Expand Down

0 comments on commit aacee7d

Please sign in to comment.