Lossless: false

This commit is contained in:
Benny~ 2020-02-29 15:02:10 +08:00
parent ec5796d170
commit 7152cae868
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481

View File

@ -87,7 +87,7 @@ func webpEncoder(p1, p2 string, quality float32, Log bool) (err error) {
return
}
if err = webp.Encode(&buf, img, &webp.Options{Lossless: true, Quality: quality}); err != nil {
if err = webp.Encode(&buf, img, &webp.Options{Lossless: false, Quality: quality}); err != nil {
log.Println(err)
return
}