mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-14 09:55:56 -07:00
allow effort param for png encoding when palette is true
This commit is contained in:
parent
83be955624
commit
0b6895720c
4 changed files with 11 additions and 3 deletions
|
|
@ -226,7 +226,9 @@ type Options struct {
|
|||
OutputICC string
|
||||
InputICC string
|
||||
Palette bool
|
||||
// Speed defines the AVIF encoders CPU effort. Valid values are 0-8.
|
||||
// Speed defines the AVIF encoders CPU effort. Valid values are:
|
||||
// 0-8 for AVIF encoding.
|
||||
// 0-9 for PNG encoding.
|
||||
Speed int
|
||||
|
||||
// private fields
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue