The Immediate Mode Rendering Model

The AWT imaging model wasn't sufficient for any kind of serious image processing because it didn't provide a mechanism for a persistent memory store of pixel data. In other words, there was no convenient way to get to the pixel data. Note that although it is possible to access data through the grabPixels() method, operations on this data were quite limited. Easier access to the pixel data was added in Java 2D with the introduction of the immediate mode rendering model. The immediate mode rendering model is based on the concept of a buffered image. The class BufferedImage represents an area of memory containing pixel data. The ability to use an accessible data buffer enables custom filtering operations such as ...

Get Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.