aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exiv2wrapper.cpp4
-rw-r--r--src/exiv2wrapper.hpp2
-rw-r--r--src/exiv2wrapper_python.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp
index 3b1e229..8d22e69 100644
--- a/src/exiv2wrapper.cpp
+++ b/src/exiv2wrapper.cpp
@@ -62,7 +62,7 @@ void Image::readMetadata()
_dataRead = true;
}
-/*void Image::writeMetadata()
+void Image::writeMetadata()
{
if(_dataRead)
{
@@ -73,7 +73,7 @@ void Image::readMetadata()
}
else
throw Exiv2::Error(METADATA_NOT_READ);
-}*/
+}
boost::python::list Image::exifKeys()
{
diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp
index df098aa..2d33cb7 100644
--- a/src/exiv2wrapper.hpp
+++ b/src/exiv2wrapper.hpp
@@ -45,7 +45,7 @@ public:
Image(const Image& image);
void readMetadata();
- //void writeMetadata();
+ void writeMetadata();
// Read and write access to the EXIF tags.
// For a complete list of the available EXIF tags, see
diff --git a/src/exiv2wrapper_python.cpp b/src/exiv2wrapper_python.cpp
index cd22f38..db97a0d 100644
--- a/src/exiv2wrapper_python.cpp
+++ b/src/exiv2wrapper_python.cpp
@@ -50,7 +50,7 @@ BOOST_PYTHON_MODULE(libexiv2python)
class_<Image>("Image", init<std::string>())
.def("readMetadata", &Image::readMetadata)
-// .def("writeMetadata", &Image::writeMetadata)
+ .def("writeMetadata", &Image::writeMetadata)
.def("exifKeys", &Image::exifKeys)
.def("getExifTag", &Image::getExifTag)