mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-07 21:48:13 -08:00
support Palette option for png
This commit is contained in:
parent
3a950d13cd
commit
dfd363a962
4 changed files with 8 additions and 3 deletions
|
|
@ -176,6 +176,7 @@ func saveImage(image *C.VipsImage, o Options) ([]byte, error) {
|
|||
OutputICC: o.OutputICC,
|
||||
StripMetadata: o.StripMetadata,
|
||||
Lossless: o.Lossless,
|
||||
Palette: o.Palette,
|
||||
}
|
||||
// Finally get the resultant buffer
|
||||
return vipsSave(image, saveOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue