In Part 1 of this tutorial, we went over some background related to the Java ImageIO subsystem and how one could retrieve information about the supported ImageReaders and ImageWriters. In Part 2, we looked at how one goes about retrieving metadata from an image as it is read. In this third part, we will do the converse – look at how one goes about setting and writing metadata for a file.

All the code associated with this tutorial is available at GitHub: https://github.com/SilverBayTech/imageIoMetadata.