ImageDataSettings Class

The options of an ImageData (https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#imagedatasettings).

public sealed class ImageDataSettings

Constructors

NameDescription
ImageDataSettings()

ImageDataSettings()

public ImageDataSettings()

No documentation is available.

Properties

NameDescription
ColorSpaceGets the color space of the pixels (sRGB when it is not set).
PixelFormatGets the format of the pixels.

ColorSpace

ImageData.cs

Gets the color space of the pixels (sRGB when it is not set).

public PredefinedColorSpace? ColorSpace { get; init; }

PixelFormat

ImageData.cs