Skip to content

IIM4J allows Java programmers to read, write and process IPTC IIM version 4 files.

License

Notifications You must be signed in to change notification settings

vnesek/nmote-iim4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IIM4J - IPTC IIM Library for Java

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 .

Features

  • Supports Java 1.5+
  • Full IPTC version 4 compliance
  • Bundled subject-reference-system
  • No external dependecies at all
  • BSD style license

Add to Your's Project

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>

How to use it

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);
	}

License

IIM4J is released under BSD license. See LICENSE.txt for more information.

Building

To produce nmote-xr.jar you will need apache maven installed. Run:

mvn clean package

History

  • 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

Who is using IIM4J

Author contact and support

For any further information please contact Vjekoslav Nesek (vnesek@nmote.com)

About

IIM4J allows Java programmers to read, write and process IPTC IIM version 4 files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages