ImageNETPixelFormat Class |
Namespace: Zivid.NET
The ImageNETPixelFormat type exposes the following members.
| Name | Description | |
|---|---|---|
| DataPtr | Obtain a pointer to the first pixel in the image | |
| Height | Return height (number of rows) of image | |
| Resolution | Return the resolution of the image | |
| Size | Return number of pixels in the image | |
| Width | Return width (number of columns) of image |
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the ImageNETPixelFormat | |
| 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.
| |
| ToArray | Get pixels as a 2D array of pixel structs | |
| ToByteArray | Get pixels as a 3D array of bytes | |
| ToString | Get a string representation of the image (Overrides ObjectToString.) |