In Chapter 6 we discussed
techniques for loading image
files into applets and into applications. We introduced the
Image class
for representing images and used the drawImage()
method in the Graphics
class to display an image.
In this chapter we divide further image handling and processing
discussion into two parts.
- Java Image Basics in this Chapter 11: Java track section
elaborates on the techniques needed to carry out basic image handling
and processing tasks.
- The Supplements
track examines the far more sophisticated Java 2D image
processing capabilities.
The contents of the two tracks are listed below:
Java Image
Basics
Java2D Image Tools
and Techniques - In Chapter 11: Supplements
The Chapter 11: Supplements section also includes discussion, along
with demo programs, of techniques to reduce
flicker in animations with the AWT components (rather than Swing
components.)
We can only provide a brief overview of the image tools available
in Java. The classes mentioned here include many overloaded versions
of constructors and methods to provide lots of options. See the
Java API specifications for thorough descriptions of the classes.
Also, see the book by Knudsen
and the other references for in depth discussions of dealing with
images in Java.
Latest update: Dec. 3, 2004
|