Since AVIF computation was awfully slow, this exposes the CPU effort setting "speed".

This commit is contained in:
Lars Fronius 2020-10-14 13:29:32 +02:00
parent 2cba482a06
commit e87ff245c1
No known key found for this signature in database
GPG key ID: 9799DF92255C2D0C
6 changed files with 19 additions and 4 deletions

View file

@ -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