Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
The Java 2D API implements a new imaging model that supports the manipulation of fixed-resolution images stored in memory. A newImage
class in thejava.awt.image
package,BufferedImage
, can be used to hold and to manipulate image data retrieved from a file or a URL. For example, aBufferedImage
can be used to implement double buffering--the graphic elements are rendered off-screen to theBufferedImage
and are then copied to the screen through a call toGraphics2D
drawImage
. The classesBufferedImage
andBufferedImageOp
also enable you to perform a variety of image-filtering operations, such as blur and sharpen. The producer/consumer imaging model provided in previous versions of the JDK is supported for backward compatibility.
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |