ImageRGBA Class |
Namespace: Zivid.NET
The ImageRGBA type exposes the following members.
| Name | Description | |
|---|---|---|
| ImageRGBA(Image<Zivid::ColorRGBA>*) | Initializes a new instance of the ImageRGBA class | |
| ImageRGBA(Byte) | Load image from a 3D array of bytes. | |
| ImageRGBA(String) | Load an image from a file. | |
| ImageRGBA(ColorRGBA) | Load image from a 2D array of ColorRGBA 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 | |
|---|---|---|
| Dispose | (Inherited from ImageNETPixelFormat.) | |
| 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.) | |
| ToString | Get a string representation of the image (Inherited from ImageNETPixelFormat.) |