Click or drag to resize

ImageNETPixelFormat Class

Abstract base-class for all images
Inheritance Hierarchy
SystemObject
  Zivid.NETImageNETPixelFormat
    Zivid.NETImageBGRA
    Zivid.NETImageRGBA
    Zivid.NETImageSRGB

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax
public abstract class Image<NETPixelFormat>

Type Parameters

NETPixelFormat

The ImageNETPixelFormat type exposes the following members.

Properties
  NameDescription
Public propertyDataPtr
Obtain a pointer to the first pixel in the image
Public propertyHeight
Return height (number of rows) of image
Public propertyResolution
Return the resolution of the image
Public propertySize
Return number of pixels in the image
Public propertyWidth
Return width (number of columns) of image
Top
Methods
  NameDescription
Public methodSave
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.
Public methodToArray
Get pixels as a 2D array of pixel structs
Public methodToByteArray
Get pixels as a 3D array of bytes
Public methodToString
Get a string representation of the image
(Overrides ObjectToString.)
Top
See Also