mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-07 21:48:16 -08:00
Merge pull request #15 from harukasan/fix/param_method
Fix method parameter type.
This commit is contained in:
commit
e05d69dcb5
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ func (c *Config) Quality() float32 {
|
|||
|
||||
// SetMethod sets method parameter that specifies quality/speed trade-off
|
||||
// (0=fast, 6=slower-better).
|
||||
func (c *Config) SetMethod(v float32) {
|
||||
func (c *Config) SetMethod(v int) {
|
||||
c.c.method = C.int(v)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue