mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-13 01:10:29 -07:00
fix(#42): change interlace type. fix C bindings
This commit is contained in:
commit
7be9d7bad5
7 changed files with 55 additions and 15 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue