Chapter 5. Image I/O API

IN THIS CHAPTER

  • Image Formats

  • Reading and Writing Basics

  • Service Provider Interfaces

  • IIOParam Classes

  • Metadata

  • Final Plug-in Code

In Chapter 4, “Immediate Mode Imaging Model,” we looked at how an image gets loaded and what to do with it after it is loaded, but there wasn't much discussion regarding what types of images can be loaded. The reason for this is that until the Java Image I/O package was developed, you could only read GIF and JPEG images. Also, until this package was created, you could only write out unformatted pixel values. In this chapter, we'll explore the basics of the Java Image I/O package and how it solved both of these problems.

Two of the more useful aspects of the Image I/O package are its use of plug-ins ...

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.