I would like to write metadata to a PNG image that I create.
My understanding of Java Advanced Image API is that I should use IIOMetadata, but code snip
IIOMetadata
Java provides the metadata package and the ImageWriter class along with the ImageIO package.
You create your IIOMetadata object, then getImageWriters for your BufferedImage or IIOImage and use them to write the metadata.
getImageWriters
write