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
intThe width.
height
intThe height.
storageType
StorageTypeThe pixel storage type.
mapping
PixelMappingThe 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
intThe width.
height
intThe height.
storageType
StorageTypeThe pixel storage type.
mapping
stringThe 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
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