Filters allow you to produce a new image. This is typically done by applying a mathematical algorithm to the source image.
Built In Types
Lienzo comes with a variety of built-in image filters. They can be used out of the box to create a number of effects for images.
Average Gray Scale
Valid brightness values are between -1 and 1.
RGB Ignore Alpha
Create your own filters
It is very simple to create your own filter. All you have to do is:
- Create a new class that implements
- Override the filter method and provide your own implementation.