ImageRGBA Constructor (ColorRGBA) |
Load image from a 2D array of ColorRGBA structs.
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax public ImageRGBA(
ColorRGBA[,] pixelArray
)
Public Sub New (
pixelArray As ColorRGBA(,)
)
public:
ImageRGBA(
array<ColorRGBA,2>^ pixelArray
)
Parameters
- pixelArray
- Type: Zivid.NETColorRGBA
Remarks
This constructor can be used with arrays created by the ToArray 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.
See Also