Add lossless option for saving webp

This commit is contained in:
Mike Stead 2017-11-11 14:56:12 +11:00
parent 0df331cdeb
commit ce5ae9c7fe
4 changed files with 7 additions and 2 deletions

View file

@ -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)