public static Bitmap ToPixalation(this Bitmap bitmap) { // create filter AForge.Imaging.Filters.Pixellate filter = new AForge.Imaging.Filters.Pixellate(); // apply the filter return(filter.Apply(bitmap)); }
public static Bitmap ToPixalation(this Bitmap bitmap) { AForge.Imaging.Filters.Pixellate filter = new AForge.Imaging.Filters.Pixellate(); return filter.Apply(bitmap); }