mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42:02 +08:00
Lossless: false
This commit is contained in:
parent
ec5796d170
commit
7152cae868
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user