reason for speed=3 added

This commit is contained in:
Vaibhav Sharma 2022-02-16 16:13:46 +05:30
parent 0b6895720c
commit ec6491c55c

View file

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