View RSS Feed

Java AWT

Java Abstract Window Toolkit (AWT)

  1. Filtering Images

    by , 03-07-2012 at 06:02 PM
    In addition to copying and scaling images, the Java 2D API also filter an image. Filtering is drawing or producing a new image by applying an algorithm to the pixels of the source image. Image filters can be applied by using the following method:

    Java 2D API filters images along with copy or scaling the images. Filtering means producing a new images by applying algorithm to the source image pixels.
    Java Code:
    void Graphics2D.drawImage(BufferedImage img,