Click or drag to resize

ImageNETPixelFormat Class

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

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 0.0.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 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
Top
See Also