fix(options): use float64 type in Options.Threshold

This commit is contained in:
Tomas Aparicio 2017-11-23 16:20:12 +01:00
parent 03f7d1fe04
commit 90e5ea5d3a
2 changed files with 3 additions and 3 deletions

View file

@ -198,7 +198,7 @@ type Options struct {
Compression int
Zoom int
Crop bool
SmartCrop bool // Deprecated
SmartCrop bool // Deprecated, use: bimg.Options.Gravity = bimg.GravitySmart
Enlarge bool
Embed bool
Flip bool
@ -220,6 +220,6 @@ type Options struct {
Interpretation Interpretation
GaussianBlur GaussianBlur
Sharpen Sharpen
Threshold float32
Threshold float64
OutputICC string
}