Hjg.Pngcs.PngWriter.SetFilterType C# (CSharp) Method

SetFilterType() public method

Sets internal prediction filter type, or strategy to choose it.
This must be called just after constructor, before starting writing. Recommended values: DEFAULT (default) or AGGRESIVE
public SetFilterType ( FilterType filterType ) : void
filterType FilterType One of the five prediction types or strategy to choose it
return void
        public void SetFilterType(FilterType filterType)
        {
            filterStrat = new FilterWriteStrategy(ImgInfo, filterType);
        }