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
Free and Open Source SoftwareThe largest compilation of the best free and open source software in the universe. Each article is supplied with a legendary ratings chart helping you to make informed decisions.
ReviewsHundreds of in-depth reviews offering our unbiased and expert opinion on software. We offer helpful and impartial information.
Alternatives to Proprietary SoftwareReplace proprietary software with open source alternatives: Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle, Atlassian, Corel, Cisco, Intuit, and SAS.
Artificial intelligence iconMachine Learning explores practical applications of machine learning and deep learning from a Linux perspective. This is a new series.
Guide to LinuxNew to Linux? Read our Linux for Starters series. We start right at the basics and teach you everything you need to know to get started with Linux.
Alternatives to popular CLI tools showcases essential tools that are modern replacements for core Linux utilities.
System ToolsEssential Linux system tools focuses on small, indispensable utilities, useful for system administrators as well as regular users.
ProductivityLinux utilities to maximise your productivity. Small, indispensable tools, useful for anyone running a Linux machine.
AudioSurveys popular streaming services from a Linux perspective: Amazon Music Unlimited, Myuzi, Spotify, Deezer, Tidal.
Saving Money with LinuxSaving Money with Linux looks at how you can reduce your energy bills running Linux.
Home ComputersHome 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. It can be a bumpy ride.
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 reveals the lighter side of Linux. Have some fun and escape from the daily drudgery.
DockerGetting Started with Docker helps you master Docker, a set of platform as a service products that delivers software in packages called containers.
Android AppsBest Free Android Apps. We showcase free Android apps that are definitely worth downloading. There's a strict eligibility criteria for inclusion in this series.
Programming BooksThese best free books accelerate your learning of every programming language. Learn a new language today!
Programming TutorialsThese free tutorials offer the perfect tonic to our free programming books series.
Linux Around The WorldLinux Around The World showcases usergroups that are relevant to Linux enthusiasts.
Stars and StripesStars and Stripes is an occasional series looking at the impact of Linux in the USA.
Notify of

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

Inline Feedbacks
View all comments