|
@@ -90,7 +90,7 @@ func Resize(width, height uint, img image.Image, interp InterpolationFunction) i
|
|
|
resultImg := image.NewRGBA64(image.Rect(0, 0, int(0.7+oldWidth/scaleX), int(0.7+oldHeight/scaleY)))
|
|
resultImg := image.NewRGBA64(image.Rect(0, 0, int(0.7+oldWidth/scaleX), int(0.7+oldHeight/scaleY)))
|
|
|
go func(b image.Rectangle, c chan int) {
|
|
go func(b image.Rectangle, c chan int) {
|