readPixels

fun BmpSlice.readPixels(x: Int, y: Int, width: Int, height: Int, out: RgbaArray = RgbaArray(width * height), offset: Int = 0): RgbaArray

Reads pixels in region without having into account RectSlice.orientation or RectSlice.padding