mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-07 13:38:17 -08:00
Merge pull request #22 from e-conomic/master
Fix typo in Config.SetLossless()
This commit is contained in:
commit
68562c9c99
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ func ConfigLosslessPreset(level int) (*Config, error) {
|
|||
// SetLossless sets lossless parameter that specifies whether to enable lossless
|
||||
// encoding.
|
||||
func (c *Config) SetLossless(v bool) {
|
||||
c.c.autofilter = boolToValue(v)
|
||||
c.c.lossless = boolToValue(v)
|
||||
}
|
||||
|
||||
// Lossless returns lossless parameter flag whether to enable lossless encoding.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue