Exiv2
Image metadata library and tools v

Exiv2 Overview

Exiv2 comprises of a C++ library and a command line utility to access image metadata. Exiv2 is free software. The homepage of Exiv2 is at http://www.exiv2.org/.

The Exiv2 library provides

  • fast read and write access to the Exif, IPTC and XMP metadata of an image through Exiv2 keys and standard C++ iterators
  • conversion of Exif and IPTC metadata to and from XMP
  • a smart IPTC implementation that does not affect data that programs like Photoshop store in the same image segment
  • Exif MakerNote support:
    • MakerNote tags can be accessed just like any other Exif metadata
    • a sophisticated write algorithm avoids corrupting the MakerNote
  • extract and delete methods for Exif thumbnails (both, JPEG and TIFF thumbnails)
  • set methods for Exif thumbnails (JPEG only, TIFF thumbnails can be set from individual tags)
  • an easy to use and well documented API

Getting started

A few pointers to get you started with the Exiv2 library without delay.

Metadata reference tables

Exif and MakerNote tags

IPTC datasets

XMP properties

File Formats

See the list of supported image formats in the Wiki and the Canon CRW mapping.

Support

All project resources are accessible from the project website.

Please send feedback or queries to the Exiv2 forum. For new bug reports and feature requests, please open an issue.

License

Exiv2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Alternatively, Exiv2 is also available with a commercial license, which allows it to be used in closed-source projects. Contact me for more information.

Exiv2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.