Create a “Night” Filter Using RGBImageFilter
This following code shows you how to create the “night” effect for an image using the RGBImageFilter: import java.awt.image.*;public class NightFilter extends RGBImageFilter { double frac; //0.0<=g>=16; int green=rgb &