Table of Contents

Method GetPixelInfo

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Primitives.dll

GetPixelInfo(in PixelFormat)

Gets information about the pixel format.

public static IPixelInfo GetPixelInfo(this in PixelFormat format)

Parameters

format PixelFormat

Returns

IPixelInfo

Remarks

This will be a boxed instance of a color struct, e.g. ColorAlpha8 for PixelFormats.Alpha8.