mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-14 09:55:56 -07:00
Since AVIF computation was awfully slow, this exposes the CPU effort setting "speed".
This commit is contained in:
parent
2cba482a06
commit
e87ff245c1
6 changed files with 19 additions and 4 deletions
|
|
@ -226,6 +226,8 @@ type Options struct {
|
|||
OutputICC string
|
||||
InputICC string
|
||||
Palette bool
|
||||
// Speed defines the AVIF encoders CPU effort.
|
||||
Speed int
|
||||
|
||||
// private fields
|
||||
autoRotateOnly bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue