ImageBGRA Constructor (Byte) |
Load image from a 3D array of bytes.
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax public ImageBGRA(
byte[,,] byteArray
)
Public Sub New (
byteArray As Byte(,,)
)
public:
ImageBGRA(
array<unsigned char,3>^ byteArray
)
Parameters
- byteArray
- Type: SystemByte
Remarks
This constructor can be used with arrays created by the ToByteArray method.
The first index will be interpreted as the rows of the image.
The second index will be interpreted as the columns of the image.
The third index will be interpreted as the color channels (B, G, R, A) for each pixel.
See Also