mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-07 21:48:13 -08:00
feat: autorotate
This commit is contained in:
parent
0ae3ac43ce
commit
26b22e9a6f
28 changed files with 105 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import "C"
|
|||
|
||||
const (
|
||||
// Quality defines the default JPEG quality to be used.
|
||||
Quality = 80
|
||||
Quality = 75
|
||||
// MaxSize defines the maximum pixels width or height supported.
|
||||
MaxSize = 16383
|
||||
)
|
||||
|
|
@ -226,4 +226,7 @@ type Options struct {
|
|||
OutputICC string
|
||||
InputICC string
|
||||
Palette bool
|
||||
|
||||
// private fields
|
||||
autoRotateOnly bool
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue