diff --git a/options.go b/options.go index 609de606..b357b770 100644 --- a/options.go +++ b/options.go @@ -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 {