Class PixelFormatExtensions
Extension methods for PixelFormat to convert to SkiaSharp and ImageSharp types.
Inheritance
PixelFormatExtensions
Assembly: Zaya.Screenshot.dll
Syntax
public static class PixelFormatExtensions
Methods
|
Edit this page
View Source
ToImageSharpPixelType(PixelFormat)
Gets the ImageSharp pixel Type object.
Declaration
public static Type? ToImageSharpPixelType(this PixelFormat format)
Parameters
Returns
|
Edit this page
View Source
ToImageSharpPixelTypeName(PixelFormat)
Gets the ImageSharp pixel type name.
Declaration
public static string ToImageSharpPixelTypeName(this PixelFormat format)
Parameters
Returns
|
Edit this page
View Source
ToSkiaSharpColorTypeValue(PixelFormat)
Converts to SkiaSharp color type value (int).
Declaration
public static int ToSkiaSharpColorTypeValue(this PixelFormat format)
Parameters
Returns