From bbe84812664e45b1576fce46ba990df2cca64c4e Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Sat, 6 Mar 2004 06:36:36 +0000 Subject: [PATCH] Print info that exiv2 does not print (mainly the key) --- src/exifprint.cpp | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/exifprint.cpp b/src/exifprint.cpp index e03f0fff..ddd77752 100644 --- a/src/exifprint.cpp +++ b/src/exifprint.cpp @@ -23,12 +23,12 @@ File: exifprint.cpp Author(s): Andreas Huggel (ahu) - Version : $Name: $ $Revision: 1.9 $ + Version : $Name: $ $Revision: 1.10 $ History : 26-Jan-04, ahu: created */ // ***************************************************************************** #include "rcsid.hpp" -EXIV2_RCSID("@(#) $Name: $ $Revision: 1.9 $ $RCSfile: exifprint.cpp,v $") +EXIV2_RCSID("@(#) $Name: $ $Revision: 1.10 $ $RCSfile: exifprint.cpp,v $") // ***************************************************************************** // included header files @@ -65,17 +65,10 @@ try { ExifData::const_iterator end = exifData.end(); for (ExifData::const_iterator i = exifData.begin(); i != end; ++i) { - std::cout << "0x" << std::setw(4) << std::setfill('0') << std::right - << std::hex << i->tag() << " " - << std::setw(4) << std::setfill(' ') << std::left - << i->ifdName() << " " - << std::setw(27) << std::setfill(' ') << std::left - << i->tagName() << " " - << std::setw(9) << std::setfill(' ') << std::left - << i->typeName() << " " - << std::dec << std::setw(3) - << std::setfill(' ') << std::right - << i->count() << " " + std::cout << std::setw(53) << std::setfill(' ') << std::left + << i->key() << " " + << "0x" << std::setw(4) << std::setfill('0') << std::right + << std::hex << i->tag() << " " << std::dec << i->value() << "\n"; }