|
@@ -24,7 +24,7 @@ import "github.com/nfnt/resize"
|
|
|
Resize creates a scaled image with new dimensions (w,h) using the interpolation function interp.
|
|
Resize creates a scaled image with new dimensions (w,h) using the interpolation function interp.
|
|
|
|
|
|
|
|
```go
|
|
```go
|
|
|
-resize.Resize(w int, h int, img image.Image, interp InterpolationFunction) image.Image
|
|
|
|
|
|
|
+resize.Resize(w int, h int, img image.Image, interp resize.InterpolationFunction) image.Image
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
The provided interpolation functions are
|
|
The provided interpolation functions are
|