fix(#42): change interlace type. fix C bindings

This commit is contained in:
Tomas Aparicio 2015-06-12 10:28:37 +01:00
commit 7be9d7bad5
7 changed files with 55 additions and 15 deletions

View file

@ -30,7 +30,7 @@ func TestVipsRead(t *testing.T) {
func TestVipsSave(t *testing.T) {
image, _, _ := vipsRead(readImage("test.jpg"))
options := vipsSaveOptions{Quality: 95, Type: JPEG}
options := vipsSaveOptions{Quality: 95, Type: JPEG, Interlace: true}
buf, err := vipsSave(image, options)
if err != nil {