Table of Contents

Class SubPixelType

Namespace
NAPS2.Images
Assembly
NAPS2.Images.dll
public class SubPixelType
Inheritance
SubPixelType
Inherited Members

Fields

Bgr

3 bytes per pixel, 1 byte per sample, blue-green-red order.

public static readonly SubPixelType Bgr

Field Value

SubPixelType

Bgra

4 bytes per pixel, 1 byte per sample, blue-green-red-alpha order.

public static readonly SubPixelType Bgra

Field Value

SubPixelType

Bit

1 bit per pixel, 0 = black, 1 = white.

public static readonly SubPixelType Bit

Field Value

SubPixelType

Gray

1 byte per pixel, 0 = black, 255 = white.

public static readonly SubPixelType Gray

Field Value

SubPixelType

InvertedBit

1 bit per pixel, 0 = white, 1 = black.

public static readonly SubPixelType InvertedBit

Field Value

SubPixelType

Rgb

3 bytes per pixel, 1 byte per sample, red-green-blue order.

public static readonly SubPixelType Rgb

Field Value

SubPixelType

Rgba

4 bytes per pixel, 1 byte per sample, red-green-blue-alpha order.

public static readonly SubPixelType Rgba

Field Value

SubPixelType

Rgbn

4 bytes per pixel, 1 byte per sample, red-green-blue-none order.

public static readonly SubPixelType Rgbn

Field Value

SubPixelType

Properties

AlphaOffset

public int AlphaOffset { get; }

Property Value

int

BitsPerPixel

public int BitsPerPixel { get; }

Property Value

int

BlueOffset

public int BlueOffset { get; }

Property Value

int

BytesPerPixel

public int BytesPerPixel { get; }

Property Value

int

GreenOffset

public int GreenOffset { get; }

Property Value

int

HasAlpha

public bool HasAlpha { get; }

Property Value

bool

InvertColorSpace

public bool InvertColorSpace { get; }

Property Value

bool

RedOffset

public int RedOffset { get; }

Property Value

int