devxlogo

Create a “Fog” Filter Using the RGBImageFilter Class

Create a “Fog” Filter Using the RGBImageFilter Class

This following code shows you how to create a “fog” filter for an image using the RGBImageFilter class:

import java.awt.image.*;import java.awt.*;public class FogFilter extends RGBImageFilter{   int fogg;   //0

devx-admin

Share the Post: