Click or drag to resize

ImageNETPixelFormatToByteArray Method

Get pixels as a 3D array of bytes

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.0.0
Syntax
public abstract 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. The number and order of the channels depends on the pixel format.
See Also