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

@ -33,7 +33,7 @@ func TestVipsSave(t *testing.T) {
for _, typ := range types {
image, _, _ := vipsRead(readImage("test.jpg"))
options := vipsSaveOptions{Quality: 95, Type: typ}
options := vipsSaveOptions{Quality: 95, Type: typ, StripMetadata: true}
buf, err := vipsSave(image, options)
if err != nil {