C# Class ScreenToGif.Encoding.Posterize

Posterize filter.
Show file Open project: dbremner/ScreenToGif

Public Methods

Method Description
ExecuteFilter ( int step ) : Bitmap

Runs the process of Posterize.

Posterize ( Bitmap Image ) : System

Bitmap Constructor.

Private Methods

Method Description
PosterizeCalculus ( Color original, double step ) : Color
PosterizeCalculus ( byte channel, double step ) : byte
Round ( double x ) : int

Method Details

ExecuteFilter() public method

Runs the process of Posterize.
public ExecuteFilter ( int step ) : Bitmap
step int
return System.Drawing.Bitmap

Posterize() public method

Bitmap Constructor.
public Posterize ( Bitmap Image ) : System
Image System.Drawing.Bitmap The picture to be posterized.
return System