Exiv2 comprises of a C++ library and a command line utility which allows you to manipulate EXIF and IPTC image metadata.

WWW: https://www.exiv2.org
