diff --git a/images/manipulation.go b/images/manipulation.go index 1decb6190..2009225b6 100644 --- a/images/manipulation.go +++ b/images/manipulation.go @@ -6,6 +6,8 @@ import ( "github.com/nfnt/resize" "github.com/oliamb/cutter" + + "github.com/ethereum/go-ethereum/log" ) func Resize(size ResizeDimension, img image.Image) image.Image { @@ -20,6 +22,8 @@ func Resize(size ResizeDimension, img image.Image) image.Image { width, height = uint(size), 0 } + log.Info("resizing", "size", size, "width", width, "height", height, "img", img) + return resize.Resize(width, height, img, resize.Bilinear) }