diff --git a/picture.go b/picture.go index 17569ac2d9d1cae9049b2380d2df11e3432739d7..db35f282e006eabe6f1edb73eefab106654643bf 100644 --- a/picture.go +++ b/picture.go @@ -57,6 +57,8 @@ func PictureFromTexture(tex *pixelgl.Texture) *Picture { } // Image returns the content of the Picture as an image.NRGBA. +// +// Note, that this operation can be rather expensive. func (p *Picture) Image() *image.NRGBA { bounds := p.Bounds() nrgba := image.NewNRGBA(image.Rect(0, 0, int(bounds.W()), int(bounds.H())))