mirror of https://github.com/perkeep/perkeep.git
Make thumbnails quality 90, not 75
Change-Id: Icd3e102fbb1e95a9e6a46ff187f56ff14d1842d5
This commit is contained in:
parent
0d36539f81
commit
c0a4f1664d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue