Table of Contents

Class PixelImportSettings

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

Class that contains setting for when pixels are imported.

public sealed class PixelImportSettings : IPixelImportSettings
Inheritance
PixelImportSettings
Implements
IPixelImportSettings
Inherited Members

Constructors

PixelImportSettings(int, int, StorageType, PixelMapping)

Initializes a new instance of the PixelImportSettings class.

public PixelImportSettings(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.

PixelImportSettings(int, int, StorageType, string)

Initializes a new instance of the PixelImportSettings class.

public PixelImportSettings(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).

PixelImportSettings(int, int, int, int, StorageType, PixelMapping)

Initializes a new instance of the PixelImportSettings class.

public PixelImportSettings(int x, int y, int width, int height, StorageType storageType, PixelMapping mapping)

Parameters

x int

The X offset from origin.

y int

The Y offset from origin.

width int

The width.

height int

The height.

storageType StorageType

The pixel storage type.

mapping PixelMapping

The mapping of the pixels.

PixelImportSettings(int, int, int, int, StorageType, string)

Initializes a new instance of the PixelImportSettings class.

public PixelImportSettings(int x, int y, int width, int height, StorageType storageType, string mapping)

Parameters

x int

The X offset from origin.

y int

The Y offset from origin.

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

Height

Gets the height of the pixel area.

public int Height { get; }

Property Value

int

Mapping

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

public string Mapping { get; set; }

Property Value

string

StorageType

Gets the pixel storage type.

public StorageType StorageType { get; }

Property Value

StorageType

Width

Gets the width of the pixel area.

public int Width { get; }

Property Value

int

X

Gets the X offset from origin.

public int X { get; }

Property Value

int

Y

Gets the Y offset from origin.

public int Y { get; }

Property Value

int