I\'ve got a function like this:
func wrapImage(img *image.NRGBA, margin int) *image.NRGBA { doSomething return img.SubImage(image.Rect(marg