Exiv2 comprises of a C++ library and a command line utility to access image metadata.