| This supplement to Chapter 11 has two main parts. The first part 
              examines image handling and processing with the Java 2D API. We 
              previously discussed Java 2D graphics drawing techniques in the 
              Chapter 6: Supplements section. 
              Java 2D also includes extensive imaging tools. The second part looks at the problem of flicker 
              in animations on AWT components. Three techniques are discussed 
              that reduce the flickering. (The most effective technque - double 
              buffering - is used by default when drawing on Swing components 
              so flicker is not such a problem with Swing animations.) 
              Java 2D Imaging:  
                
                  BufferedImage 
                    - description of the Image 
                    subclass that offers far more sophisticated and elaborate 
                    features.Creating, Saving, Reading 
                    Images - create instances of BufferedImage, 
                    then use ImageIO 
                    class methods to save and read files in standard image formats.
Pixels 
                    & BufferedImage - accessing the pixels of a BufferedImage, 
                    modifying them and creating new images and animations from 
                    them. 
                    
                  Filtering 
                    
                  Java Advanced Imaging API (JAI) - brief 
                overview 
 
AWT Flicker in animations 
                
                         Latest update: Dec. 5, 2004 |