Library Home Page
This project started from a need. A need to have a simple image/photo .NET filters functionality to style and enhance pictures to be displayed on the web (or any other place for that matter). True, there are some filter libraries scattered around the web for doing stuff like a WaterMark or a GrayScale or even a collection of those (ImageMagick). In most cases they are very basic or unhelpful for styling images. Furthermore, the .NET
System.Drawing.* namespace doesn't provide any basic or sophisticated capabilities. For example, there isn't a proper rotate or resize functionality. So the goal was to collect all of the nice .NET filters that are out there into a single package and to extend it by providing more useful and styled filters.
From the need that was described above I've created YAEL, which stands for: Yet Another Image Enhancement Library.
It is just a framework and filter classes. No UI (for now). The framework is very basic and simple so that extensions can easily be developed.
There is a basic
IFilter interface and a
BasicFilter abstract class. All of the filters derive from the
Current library filters consist of
- Rounded Corners
- Drop Shadow
- Polaroid frame
- Text and wartermark captions
- Image watermark
- Floor Reflection
- And more to come...
Here are some Samples:
Usage is very straightforward. All you have to do is reference the library assemblies, load up an image, initialize a filter, execute the filter, and save back the transformed image.
Here is a sample:
static void Main(string args)
Image myImg = Bitmap.FromFile("cat.jpg");
ZRLabs.Yael.BasicFilters.TextWatermarkFilter watermark = new
ZRLabs.Yael.BasicFilters.BoxFilter box = new BoxFilter();
ZRLabs.Yael.BasicFilters.BlackAndWhiteFilter blackAndWhite = new
watermark.Caption = "Test";
watermark.AutomaticTextSize = true;
transformedImage = watermark.ExecuteFilter(myImg);
transformedImage = box.ExecuteFilter(myImg);
transformedImage = blackAndWhite.ExecuteFilter(myImg);
- V22.214.171.124 Released
- Added the Fisheye, FloorReflection and Skew filters.
- Added a pipeline helper class for easy and fluent transformations.
- Added the ability to use images on the
BoxFilter on the top and side panels.
Check out the samples page for examples.
- Added a
KeepAspectRatio property to the
- Added an image watermark filter
- Changed the license to LGPL