toRgbImage

Copies this bitmap's pixels into an RgbImage. The bitmap is not recycled.