dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Model

ImageData Class

Represents the image data of a screenshot.

public class ImageData :
System.IEquatable<dymaptic.GeoBlazor.Core.Model.ImageData>

Inheritance System.Object 🡒 ImageData

Implements System.IEquatable<ImageData>

Constructors

ImageData(byte[], string, long, long) Constructor

Represents the image data of a screenshot.

public ImageData(byte[] Data, string ColorSpace, long Height, long Width);

Parameters

Data System.Byte[]

The image data as a byte array. Can be used with libraries such as ImageSharp or SkiaSharp to render or manipulate the image.

ColorSpace System.String

The color space of the image.

Height System.Int64

The height of the image.

Width System.Int64

The width of the image.

Properties

ImageData.ColorSpace Property

The color space of the image.

public string ColorSpace { get; set; }

Property Value

System.String

ImageData.Data Property

The image data as a byte array. Can be used with libraries such as ImageSharp or SkiaSharp to render or manipulate the image.

public byte[] Data { get; set; }

Property Value

System.Byte[]

ImageData.Height Property

The height of the image.

public long Height { get; set; }

Property Value

System.Int64

ImageData.Width Property

The width of the image.

public long Width { get; set; }

Property Value

System.Int64