View RSS Feed

Java AWT

Java Abstract Window Toolkit (AWT)

  1. Creating and Drawing to an Image

    by , 03-07-2012 at 06:03 PM
    The process of loading an image is already known, which is created as well as stored on any network or your system. However, you would also want to make a new pixel data buffered image.

    BufferedImage object can be created manually by making use of 3 constructors of class:
    • new BufferedImage(width, height, type) - creates a BufferedImage for one of the predefined type of image.
    • new BufferedImage(width, type,height, colorModel) - creates a BufferedImage of the predefined
    ...