← back to roto on ba3a.dev

fromByteArray

fun fromByteArray(width: Int, height: Int, indices: ByteArray): IndexedRaster

A raster over a copy of indices, row-major unsigned bytes from the top-left corner.