fix(background): pass proper background RGB color

This commit is contained in:
Tomas Aparicio 2016-09-28 00:14:29 +01:00
parent bffc7652bb
commit 5ca57a1e68
3 changed files with 5 additions and 7 deletions

View file

@ -330,7 +330,6 @@ func imageFlatten(image *C.VipsImage, imageType ImageType, o Options) (*C.VipsIm
if imageType != PNG || o.Background == ColorBlack {
return image, nil
}
return vipsFlattenBackground(image, o.Background)
}