mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-13 09:20:29 -07:00
parent
f63020b40f
commit
e603ddd10a
8 changed files with 204 additions and 20 deletions
|
|
@ -55,6 +55,12 @@ const (
|
|||
VERTICAL Direction = C.VIPS_DIRECTION_VERTICAL
|
||||
)
|
||||
|
||||
type Insert struct {
|
||||
Top int
|
||||
Left int
|
||||
Buffer []byte
|
||||
}
|
||||
|
||||
type Options struct {
|
||||
Height int
|
||||
Width int
|
||||
|
|
@ -70,7 +76,9 @@ type Options struct {
|
|||
Embed bool
|
||||
Flip bool
|
||||
Flop bool
|
||||
NoAutoRotate bool
|
||||
Rotate Angle
|
||||
Insert Insert
|
||||
Gravity Gravity
|
||||
Type ImageType
|
||||
Interpolator Interpolator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue