This library intends to provide awesome helper functions, all supporting the Bitmap
class from System.Drawing.Common
, provided in highly clean and sufficiently documented code.
The repository contains the following:
- Filters
- Convolution based Filters
- Box Blur filter
- Gaussian filter
- Median Filter
- Bilateral Filter
- ColorTint Filter
- Convolution based Filters
- Dithering
- Thresholding
- Random Dithering
- Patterning Dither or Error-Diffusion Dither
- Ordered Dithering
- Color Scaling
You can view more details on the individual features in the respective README files of each folder in the source code.
You can check out the wiki as well
The following example shows how to apply a filter using the extension method Filter()
, provided in this library
Given an image
we can apply filter as shown
using Bitmap image = ...//Open a bitmap image
image.Filter(ConvolutionFilter.GaussianFilter); //Filter has been applied!
to get
All features in the library including examples are covered in the Wiki as well. You can also check out the Example
project to see the code for all the functions being applied to a single image.
You can add the Nuget package for this repository. You can also clone this repository and add the GdiPlusExtensions
project as a reference in your project.
Check out the Contributing.md detailed information on contribtion to this repository.
Head to the Discussions Tab. You can keep it informal. I probably might respond.
You can create an issue for it.
This repository is licensed under the MIT License
- v 0.1
- Initial release