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 ...

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.