Exiv2 – C++ library and command line utility to manage image metadata

Exiv2 is a C++ library and a command line utility to manage image metadata.

It provides fast and easy read and write access to the Exif, IPTC and XMP metadata of images in many formats.

Exiv2 is free and open source software.

Features of the command-line utility include:

  • Print Exif, IPTC and XMP image metadata in different formats: Exif summary info, interpreted values, or the plain data for each tag
  • Print the structure of images. This is useful for image file analysis.
  • Set, add and delete Exif, IPTC, XMP metadata and ICC profile from command line modify commands or command scripts
  • Adjust the Exif timestamp (that’s how it all started…)
  • Rename Exif image files according to the Exif timestamp
  • Extract, insert and delete Exif, IPTC and XMP metadata and JPEG comments
  • Convert from Exif and IPTC to XMP properties and vice versa
  • Extract previews from RAW images and thumbnails from the Exif metadata
  • Insert and delete the thumbnail image embedded in the Exif metadata
  • Print, set and delete the JPEG comment of JPEG images
  • Fix the Exif ISO setting of picture taken with Canon and Nikon cameras
  • Metadata and ICC Profiles can be very conveniently piped on the command-line from one image to others.

Features of the C++ library include:

  • Fast read and write access to the Exif, IPTC and XMP metadata of an image.
  • Easy to use and extensively documented C++ API.
  • Conversions of Exif and IPTC metadata to XMP and vice versa.
  • 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 read and written just like any other metadata.
    • Sophisticated write algorithm avoids corrupting the Makernote.
  • Simple interface to extract previews embedded in RAW images and Exif thumbnails.
  • Set and delete methods for Exif thumbnails.

Website: www.exiv2.org
Support: Documentation, GitHub Code Repository
Developer: Andreas Huggel, Robin Mills, Luis Díaz Más and many contributors
License: GNU General Public License v2

Exiv2 is written in C++. Learn C++ with our recommended free books and free tutorials.

Return to Photo Metadata Editors Home Page

Popular series
Linux for StartersNew to Linux? Read our Linux for Starters series.
Free and Open Source SoftwareThe largest compilation of the best free and open source software in the universe. Supplied with our legendary ratings charts.
Linux ReviewsHundreds of in-depth reviews offering our unbiased and expert opinion on software.
Alternatives to GoogleAlternatives to Google's Products and Services examines your options to migrate from the Google ecosystem with open source Linux alternatives.
MicrosoftAlternatives to Microsoft's Products and Services recommends open source Linux software.
AdobeAlternatives to Adobe Cloud is a new series looking at free and open source alternatives to products available from Adobe Cloud's subscription service.
Linux System ToolsEssential Linux system tools looks at small, indispensable utilities, useful for system administrators as well as regular users.
Linux ProductivityLinux utilities to maximise your productivity. Small, indispensable tools, useful for anyone running a Linux machine.
Home Computer EmulatorsHome computers became commonplace in the 1980s. Emulate home computers including the Commodore 64, Amiga, Atari ST, ZX81, Amstrad CPC, and ZX Spectrum.
Now and ThenNow and Then examines how promising open source software fared over the years.
Linux at HomeLinux at Home looks at a range of home activities where Linux can play its part, making the most of our time at home, keeping active and engaged.
Linux CandyLinux Candy opens up to the lighter side of Linux. Have some fun!
Best Free Android AppsBest Free Android Apps. There's a strict eligibility criteria for inclusion in this series
Programming BooksThese best free books accelerate your learning of every programming language
Programming TutorialsThese free tutorials offer the perfect tonic to the free programming books series
Stars and StripesStars and Stripes is an occasional series looking at the impact of Linux in the USA
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.