mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-04-23 11:11:51 -07:00
Added progressive jpeg functionality.
This commit is contained in:
parent
b6bc20df55
commit
0019d370e9
5 changed files with 8 additions and 2 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: 1}
|
||||
|
||||
buf, err := vipsSave(image, options)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue