Table of Contents

Class PixelTypeInfo

Namespace
SixLabors.ImageSharp.Formats
Assembly
SixLabors.ImageSharp.dll

Contains information about the pixels that make up an images visual data.

public class PixelTypeInfo
Inheritance
PixelTypeInfo
Inherited Members

Constructors

PixelTypeInfo(int)

Initializes a new instance of the PixelTypeInfo class.

public PixelTypeInfo(int bitsPerPixel)

Parameters

bitsPerPixel int

Color depth, in number of bits per pixel.

PixelTypeInfo(int, PixelAlphaRepresentation)

Initializes a new instance of the PixelTypeInfo class.

public PixelTypeInfo(int bitsPerPixel, PixelAlphaRepresentation alpha)

Parameters

bitsPerPixel int

Color depth, in number of bits per pixel.

alpha PixelAlphaRepresentation

The pixel alpha transparency behavior.

Properties

AlphaRepresentation

Gets the pixel alpha transparency behavior. null means unknown, unspecified.

public PixelAlphaRepresentation? AlphaRepresentation { get; }

Property Value

PixelAlphaRepresentation?

BitsPerPixel

Gets color depth, in number of bits per pixel.

public int BitsPerPixel { get; }

Property Value

int