Added progressive jpeg functionality.

This commit is contained in:
Brant Fitzsimmons 2015-06-10 18:55:58 -04:00
parent b6bc20df55
commit 0019d370e9
5 changed files with 8 additions and 2 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: 1}
buf, err := vipsSave(image, options)
if err != nil {