mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-08 23:18:19 -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
|
|
@ -166,6 +166,7 @@ options := bimg.Options{
|
|||
Crop: true,
|
||||
Quality: 95,
|
||||
Rotate: 180,
|
||||
Interlace: 1,
|
||||
}
|
||||
|
||||
buffer, err := bimg.Read("image.jpg")
|
||||
|
|
@ -625,6 +626,7 @@ type Options struct {
|
|||
Flip bool
|
||||
Flop bool
|
||||
NoAutoRotate bool
|
||||
Interlace int
|
||||
Rotate Angle
|
||||
Gravity Gravity
|
||||
Watermark Watermark
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue