0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

bump jpeg encoding quality

This commit is contained in:
Will Norris 2014-01-09 21:54:36 -08:00
parent e7655f13d8
commit a19264897d

View file

@ -103,7 +103,7 @@ func Transform(img []byte, opt *Options) ([]byte, error) {
gif.Encode(buf, m, nil)
break
case "jpeg":
jpeg.Encode(buf, m, nil)
jpeg.Encode(buf, m, &jpeg.Options{95})
break
case "png":
png.Encode(buf, m)