mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-16 02:45:54 -07:00
Add lossless option for saving webp
This commit is contained in:
parent
0df331cdeb
commit
ce5ae9c7fe
4 changed files with 7 additions and 2 deletions
|
|
@ -165,6 +165,7 @@ func saveImage(image *C.VipsImage, o Options) ([]byte, error) {
|
|||
Interpretation: o.Interpretation,
|
||||
OutputICC: o.OutputICC,
|
||||
StripMetadata: o.StripMetadata,
|
||||
Lossless: o.Lossless,
|
||||
}
|
||||
// Finally get the resultant buffer
|
||||
return vipsSave(image, saveOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue