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
bitsPerPixelintColor 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
bitsPerPixelintColor depth, in number of bits per pixel.
alphaPixelAlphaRepresentationThe pixel alpha transparency behavior.
Properties
AlphaRepresentation
Gets the pixel alpha transparency behavior. null means unknown, unspecified.
public PixelAlphaRepresentation? AlphaRepresentation { get; }
Property Value
BitsPerPixel
Gets color depth, in number of bits per pixel.
public int BitsPerPixel { get; }