Thursday, February 17, 2005

Java image types

A common question seems to arise often from Java graphics developers about which image type or creation method to use. When exactly should you use VolatileImage? What is BufferedImage appropriate for? What about the old Toolkit images? And when is BufferStrategy more appropriate than one of these image types? It's a pretty big topic, and the answer (like all truly great answers) is probably "It depends". But there are some general guidelines that can come in handy.
rating comment: The article gives you detailed information about the different Java image types. It shows when to use which type of image and what the consequences are. The article also points out how to optimize performance by using hardware acceleration.

No comments: