SKImageInfoExtensions Class

Contains extension methods for the SKImageInfo type.

Definition

Namespace: KGySoft.Drawing.SkiaSharp
Assembly: KGySoft.Drawing.SkiaSharp (in KGySoft.Drawing.SkiaSharp.dll) Version: 9.0.0
C#
public static class SKImageInfoExtensions
Inheritance
Object    SKImageInfoExtensions

Methods

GetInfo Gets a PixelFormatInfo for this imageInfo.
GetMatchingQuantizer Gets a PredefinedColorsQuantizer instance that fits for the specified imageInfo.
HasAlpha Gets whether this SKImageInfo instance represents a format with alpha (transparency) without checking whether imageInfo represents a valid value.

See Also