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