mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-13 01:10:29 -07:00
feat(#189): allow strip image metadata via bimg.Options.StripMetadata = bool
This commit is contained in:
parent
d31288c3c8
commit
ab4ef56bab
25 changed files with 12 additions and 8 deletions
|
|
@ -161,6 +161,7 @@ func saveImage(image *C.VipsImage, o Options) ([]byte, error) {
|
|||
NoProfile: o.NoProfile,
|
||||
Interpretation: o.Interpretation,
|
||||
OutputICC: o.OutputICC,
|
||||
StripMetadata: o.StripMetadata,
|
||||
}
|
||||
// Finally get the resultant buffer
|
||||
return vipsSave(image, saveOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue