IIM4J allows Java programmers to read, write and process IPTC IIM version 4 files. For example, you can read and write metadata contained in JPEG files. More information regarding IIM is available on IPTC website, http://www.iptc.org .
- Supports Java 1.5+
- Full IPTC version 4 compliance
- Bundled subject-reference-system
- No external dependecies at all
- BSD style license
If you use maven for dependency management, add following snippet to pom.xml:
<dependencies>
...
<dependency>
<groupId>com.nmote.iim4j</groupId>
<artifactId>nmote-iim4j</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
There are few sample programs in a samples directory.
To read JPEG metadata you would do:
IIMReader reader = new IIMReader(new JPEGIIMInputStream(new FileIIMInputStream(file)),
new IIMDataSetInfoFactory());
IIMFile iimFile = new IIMFile();
iimFile.readFrom(reader, 20);
for (DataSet ds : iimFile.getDataSets()) {
Object value = ds.getValue();
DataSetInfo info = ds.getInfo();
System.out.println(info.toString() + " " + info.getName() + ": " + value);
}
IIM4J is released under BSD license. See LICENSE.txt for more information.
To produce nmote-xr.jar you will need apache maven installed. Run:
mvn clean package
-
Version 1.1.0. 10.04.2015 Support for basic validation of IIMFile metadata. See IIMFile::validate methods. Few small fixes/improvements.
-
Version 1.0.0. 31.01.2015 Keeping same version, only changes are better javadocs and publishing to maven central.
-
Version 1.0.0. 02.02.2014 Cleanup, removed external deps, mavenized, generified.
-
Version 0.9.1 12.04.2005 Several bug fixes, feature complete, extended JavaDocs.
-
Version 0.9 10.01.2005 Bug fixes, support for IIM record inside of JPEG (Photoshop support), support for multiple encodings.
-
Version 0.8 11.05.2004 Initial release of project IIM4J on Sourceforge under BSD license
-
ExifStock http://www.stockphoto-tools.com/
-
HINA http://www.hina.hr/
For any further information please contact Vjekoslav Nesek ([email protected])