SKPngEncoderOptions.FilterFlags Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the filtering flags.
public SkiaSharp.SKPngEncoderFilterFlags FilterFlags { get; set; }
Property Value
Remarks
If a single filter is chosen, then that filter will be used for every row.
If multiple filters are chosen, then a heuristic will be used to guess which filter will encode smallest, then apply that filter. This happens on a per row basis, different rows can use different filters.
Using a single filter (or less filters) is typically faster. Trying all of the filters may help minimize the output file size.