feat(#189): allow strip image metadata via bimg.Options.StripMetadata = bool

This commit is contained in:
Tomas Aparicio 2017-09-10 17:16:31 +02:00
parent d31288c3c8
commit ab4ef56bab
25 changed files with 12 additions and 8 deletions

View file

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