ImageRGBA_SRGB Constructor (ColorRGBA_SRGB) |
Load image from a 2D array of ColorRGBA_SRGB structs.
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.15.0.0
Syntaxpublic ImageRGBA_SRGB(
ColorRGBA_SRGB[,] pixelArray
)
Public Sub New (
pixelArray As ColorRGBA_SRGB(,)
)
public:
ImageRGBA_SRGB(
array<ColorRGBA_SRGB,2>^ pixelArray
)
Parameters
- pixelArray
- Type: Zivid.NETColorRGBA_SRGB
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