Latest News

 










(3) Image Handling

Previous slide Next slide Back to first slide View graphic version


(3) Image Handling


 
My other sites

Latest News

 










(3) Image Handling

  • BufferedImage :

    • For animation (double buffering),
    • For optimising internal representation.
  • Using BufferedImage :

    • instantiate :
      • new BufferedImage(width,height,type))
    • use :
      • getGraphics() to obtain a Graphics,
      • or createGraphics() to obtain a Graphics2D.
    • You could also ask DeviceConfguration for the optimal type using createCombatibleImage().

Previous slide Next slide Back to first slide View graphic version