JImage::filter

Method to apply a filter to the image by type. Two examples are: grayscale and sketchy.