Which possibility do I have to write meta data in the form of key-value strings into the file formats .jpg, .tif, .png using Java? In the best case I am looking for a uniform procedure using standard Java tools or a library. Is there a suitable library that can be used free of charge for commercial purposes or can I otherwise access the metadata to change it?
Asked
Active
Viewed 359 times
2 Answers
2
Pixymeta might be the library you are looking for. It is commercially usable and is free of charge. It's a successor of iCafe.
For example of the use of the iCafe library for writing to IPTC see this thread.

butcher
- 36
- 4
0
It's supported by the standard Java API since at least Java 1.5 as far as I remember, use the package javax.imageio.metadata, especially IIOMetadata. There's an example in the official documentation. JPEG and PNG are fully supported, TIFF requires at least Java 9.

gouessej
- 3,640
- 3
- 33
- 67