Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization
by Alejandro Terrazas, John Ostuni, Michael Barlow
Summary
We began this chapter by looking at the ImageIO class and how its static methods are used to find appropriate ImageReaders and ImageWriters. This was done through the use of service provider classes (ImageReaderSpi and ImageWriterSpi), which are small classes that describe the functionality of their corresponding ImageReaders and ImageWriters. The process of discovering available ImageReaders and ImageWriters is done at runtime through the use of plug-ins so that additional functionality can be added to the Image I/O package at any time. We then described the IIOParam subclasses, ImageReaderParam and ImageWriterParam, which provide control over the reading and writing process. We next considered the IIOMetadata subclasses, which allows ...
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