View RSS Feed

Java AWT

Java Abstract Window Toolkit (AWT)

  1. Writing/Saving an Image

    by , 03-07-2012 at 05:04 PM
    It has been explained to use the javax.imageio package so that to load image to Java 2D's internalBufferedImage format from an external image format. Also, the usage of Graphics.drawImage() has been explained to draw images with an optional filtering.

    To an external image format, the BufferedImage object is saved. This image might be the one that was loaded originally by Image I/O class, from external image format. It might also be the one which was constructed by Java 2D or was ...