ImageBGRA Class |
Namespace: Zivid.NET
The ImageBGRA type exposes the following members.
Name | Description | |
---|---|---|
ImageBGRA(Image<Zivid::ColorBGRA>*) | Initializes a new instance of the ImageBGRA class | |
ImageBGRA(Byte) | Load image from a 3D array of bytes. | |
ImageBGRA(String) | Load an image from a file. | |
ImageBGRA(ColorBGRA) | Load image from a 2D array of ColorBGRA structs. |
Name | Description | |
---|---|---|
DataPtr | Obtain a pointer to the first pixel in the image (Inherited from ImageNETPixelFormat.) | |
Height | Return height (number of rows) of image (Inherited from ImageNETPixelFormat.) | |
Resolution | Return the resolution of the image (Inherited from ImageNETPixelFormat.) | |
Size | Return number of pixels in the image (Inherited from ImageNETPixelFormat.) | |
Width | Return width (number of columns) of image (Inherited from ImageNETPixelFormat.) |
Name | Description | |
---|---|---|
GetNativePtr | ||
Save |
Save the image to a file. The supported file types are PNG (.png), JPEG (.jpg, .jpeg) and BMP (.bmp).
This method will throw an exception if failing to save to the provided fileName.
(Inherited from ImageNETPixelFormat.) | |
ToArray | Get pixels as a 2D array of pixel structs (Inherited from ImageNETPixelFormat.) | |
ToByteArray | Get pixels as a 3D array of bytes (Overrides ImageNETPixelFormatToByteArray.) |