diff --git a/internal/restorable/image.go b/internal/restorable/image.go index 30fab71ba..2c1008dad 100644 --- a/internal/restorable/image.go +++ b/internal/restorable/image.go @@ -143,7 +143,7 @@ func NewImage(width, height int) *Image { return i } -// NewImage creates a new image and copies the pixels of the given source image. +// NewImageFromImage creates a new image and copies the pixels of the given source image. // // The given size (width and height) doesn't have to match with the source image's size. // The image is copied at the left-upper corner of the new image.