Click or drag to resize

ImageSRGB Class

An RGBA image in the sRGB color space with 8 bits per channel
Inheritance Hierarchy
SystemObject
  Zivid.NETImageColorSRGB
    Zivid.NETImageSRGB

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 2.15.0.0
Syntax
public class ImageSRGB : Image<ColorSRGB>

The ImageSRGB type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodDispose (Inherited from ImageNETPixelFormat.)
Public methodGetNativePtr
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.
(Inherited from ImageNETPixelFormat.)
Public methodToArray
Get pixels as a 2D array of pixel structs
(Inherited from ImageNETPixelFormat.)
Public methodToByteArray
Get pixels as a 3D array of bytes
(Overrides ImageNETPixelFormatToByteArray.)
Public methodToString
Get a string representation of the image
(Inherited from ImageNETPixelFormat.)
Top
Remarks
The sRGB color space is suitable for showing an image on a display for human viewing. It is easier to see details in darker areas of an image in sRGB than in linear RGB, as more of the dynamic range is dedicated to darker colors. This format is assumed by default by most monitors and should be used when displaying an image. This type has been deprecated as of SDK 2.15. The type will be removed in the next SDK major version (SDK 3.0). Prefer to use the new equivalent type ImageRGBA_SRGB.
See Also