toIntArray

expect fun toIntArray(): IntArray

Converts the image into an integer array.

Each pixel channel (0-255) is stored as an Int.

Return

An integer array containing the image pixel data in RGB order.