Table of Contents

Class PixelReadSettings

Namespace
ImageMagick
Assembly
Magick.NET-Q16-AnyCPU.dll

Class that contains setting for when pixels are read.

public sealed class PixelReadSettings : IPixelReadSettings<ushort>
Inheritance
PixelReadSettings
Implements
IPixelReadSettings<ushort>
Inherited Members

Constructors

PixelReadSettings(int, int, StorageType, PixelMapping)

Initializes a new instance of the PixelReadSettings class.

public PixelReadSettings(int width, int height, StorageType storageType, PixelMapping mapping)

Parameters

width int

The width.

height int

The height.

storageType StorageType

The pixel storage type.

mapping PixelMapping

The mapping of the pixels.

PixelReadSettings(int, int, StorageType, string)

Initializes a new instance of the PixelReadSettings class.

public PixelReadSettings(int width, int height, StorageType storageType, string mapping)

Parameters

width int

The width.

height int

The height.

storageType StorageType

The pixel storage type.

mapping string

The mapping of the pixels (e.g. RGB/RGBA/ARGB).

Properties

Mapping

Gets or sets the mapping of the pixels (e.g. RGB/RGBA/ARGB).

public string? Mapping { get; set; }

Property Value

string

ReadSettings

Gets the settings to use when reading the image.

public IMagickReadSettings<ushort> ReadSettings { get; }

Property Value

IMagickReadSettings<ushort>

StorageType

Gets or sets the pixel storage type.

public StorageType StorageType { get; set; }

Property Value

StorageType