Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization
by Alejandro Terrazas, John Ostuni, Michael Barlow
Summary
When we began this chapter by looking at the java.awt.Image class, we noted that the Image class shouldn't be considered a conventional image because it didn't have accessible image data. It, instead, should be thought of as a set of resources that allow the loading and displaying of image data. The Image class is typically used with the push model of image processing in which the object displaying or filtering the image data makes a request to the object producing the image data to start producing. It then waits for this producer to push the data asynchronously to it. The advantage of this method is that the data arrives as it is available so that the drawing or filtering can begin right away without having to wait until all the image ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access