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