Extension of Processing's PImage that adds filters and image settings like contrast, saturation etc.
FilterPImage directly extends Processing's PImage, adding a growing number of controls and filters to get great animations.
The following is a list of some of the examples. For some more comprehensive documentation, you can explore the javadoc.
Using the class is as simple as using the following constructor:
FilterPImage image = new FilterPImage(context, path);
Where context is the PApplet (usually ``this``), and path a
String pointing at the file.
Changes the image's contrast according to value
tint(int r, int g, int b)
Tints (kind of) the image with the specified colour
Multiplies the saturation of the image by the factor.
Makes the image, indeed, more yellow.
Turns people into smurfs
Applies a sepia filter to the image, with more or less depth
Makes everything a bit more orange
Makes everything a bit more dark blue