Make thumbnails quality 90, not 75

Change-Id: Icd3e102fbb1e95a9e6a46ff187f56ff14d1842d5
This commit is contained in:
Brad Fitzpatrick 2013-12-16 18:54:20 -08:00
parent 0d36539f81
commit c0a4f1664d
1 changed files with 3 additions and 1 deletions

View File

@ -228,7 +228,9 @@ func (ih *ImageHandler) scaleImage(fileRef blob.Ref) (*formatAndImage, error) {
format = "jpeg"
fallthrough
default:
err = jpeg.Encode(&buf, i, nil)
err = jpeg.Encode(&buf, i, &jpeg.Options{
Quality: 90,
})
}
if err != nil {
return nil, err