diff options
Diffstat (limited to 'src/exiv2wrapper.cpp')
-rw-r--r-- | src/exiv2wrapper.cpp | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp index 156a706..2aecf8d 100644 --- a/src/exiv2wrapper.cpp +++ b/src/exiv2wrapper.cpp @@ -19,8 +19,7 @@ * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ /* - File: exiv2wrapper.cpp - Author(s): Olivier Tilloy <olivier@tilloy.net> + Author: Olivier Tilloy <olivier@tilloy.net> */ // ***************************************************************************** @@ -381,25 +380,7 @@ boost::python::tuple Image::getXmpTag(std::string key) } } -/*boost::python::tuple Image::tagDetails(std::string key) -{ - std::string keyFamily = key.substr(0, 4); - if (keyFamily == "Exif") - { - Exiv2::ExifKey exifKey = Exiv2::ExifKey(key); - std::string tagLabel = exifKey.tagLabel(); - std::string tagDesc = std::string(Exiv2::ExifTags::tagDesc(exifKey.tag(), exifKey.ifdId())); - return boost::python::make_tuple(tagLabel, tagDesc); - } - else if (keyFamily == "Iptc") - { - Exiv2::IptcKey iptcKey = Exiv2::IptcKey(key); - std::string tagLabel = iptcKey.tagLabel(); - std::string tagDesc = std::string(Exiv2::IptcDataSets::dataSetDesc(iptcKey.tag(), iptcKey.record())); - return boost::python::make_tuple(tagLabel, tagDesc); - } -} - +/* boost::python::tuple Image::getThumbnailData() { if(_dataRead) @@ -472,7 +453,8 @@ void Image::setThumbnailFromJpegFile(const std::string path) } else throw Exiv2::Error(METADATA_NOT_READ); -}*/ +} +*/ void translateExiv2Error(Exiv2::Error const& error) { |