readRgba

fun readRgba(frame: VideoFrame, picture: MetalPicture, toneMapped: Boolean = false): ByteArray

Renders picture and returns width * height * 4 tightly packed RGBA bytes at the frame's stored size.