mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-19 20:26:31 -07:00
reason for speed=3 added
This commit is contained in:
parent
0b6895720c
commit
ec6491c55c
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ func applyDefaults(o Options, imageType ImageType) Options {
|
||||||
o.Interpretation = InterpretationSRGB
|
o.Interpretation = InterpretationSRGB
|
||||||
}
|
}
|
||||||
if o.Palette {
|
if o.Palette {
|
||||||
|
// Default value of effort in libvips is 7.
|
||||||
o.Speed = 3
|
o.Speed = 3
|
||||||
}
|
}
|
||||||
return o
|
return o
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue