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:
parent
e7655f13d8
commit
a19264897d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue