Merge pull request #207 from traum-ferienwohnungen/nearest-neighbour

Add nearest-neighbour interpolation
master
Tomás 8 years ago committed by GitHub
commit 6837999321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,12 +41,15 @@ const (
Bilinear
// Nohalo interpolation value.
Nohalo
// Nearest neighbour interpolation value.
Nearest
)
var interpolations = map[Interpolator]string{
Bicubic: "bicubic",
Bilinear: "bilinear",
Nohalo: "nohalo",
Nearest: "nearest",
}
func (i Interpolator) String() string {

Loading…
Cancel
Save