Click or drag to resize

ImageRGBAToByteArray Method

Get pixels as a 3D array of bytes

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.0.0
Syntax
public byte[,,] ToByteArray()

Return Value

Type: Byte
A 3D byte array [row,col,channel] containing the image data
Remarks
The first index selects the row (0 to height-1) and the second index selects the column (0 to width-1). The third index selects the channel, of which there are four (R, G, B, A).
See Also