Class PixelReadSettings
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q8-AnyCPU.dll
Class that contains setting for when pixels are read.
public sealed class PixelReadSettings : IPixelReadSettings<byte>- Inheritance
- 
      
      PixelReadSettings
- Implements
- 
      IPixelReadSettings<byte>
- Inherited Members
Constructors
PixelReadSettings(uint, uint, StorageType, PixelMapping)
Initializes a new instance of the PixelReadSettings class.
public PixelReadSettings(uint width, uint height, StorageType storageType, PixelMapping mapping)Parameters
- widthuint
- The width. 
- heightuint
- The height. 
- storageTypeStorageType
- The pixel storage type. 
- mappingPixelMapping
- The mapping of the pixels. 
PixelReadSettings(uint, uint, StorageType, string)
Initializes a new instance of the PixelReadSettings class.
public PixelReadSettings(uint width, uint height, StorageType storageType, string mapping)Parameters
- widthuint
- The width. 
- heightuint
- The height. 
- storageTypeStorageType
- The pixel storage type. 
- mappingstring
- 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
ReadSettings
Gets the settings to use when reading the image.
public IMagickReadSettings<byte> ReadSettings { get; }Property Value
- IMagickReadSettings<byte>
StorageType
Gets or sets the pixel storage type.
public StorageType StorageType { get; set; }Property Value
- StorageType