diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-03-16 19:51:59 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-03-16 19:51:59 +0100 |
commit | cf80099581568c17a49160b594ee17e690e64d5c (patch) | |
tree | 94c94704c8dcd43cb84ae441993a6b1eb4da8757 /src/exiv2wrapper_python.cpp | |
parent | bf16b218062b0279fab4e4a7e8ee4d0108bed17a (diff) | |
download | pyexiv2-cf80099581568c17a49160b594ee17e690e64d5c.tar.gz |
Instantiate an image from a data buffer.
Diffstat (limited to 'src/exiv2wrapper_python.cpp')
-rw-r--r-- | src/exiv2wrapper_python.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exiv2wrapper_python.cpp b/src/exiv2wrapper_python.cpp index 4cdd34b..aab2925 100644 --- a/src/exiv2wrapper_python.cpp +++ b/src/exiv2wrapper_python.cpp @@ -118,6 +118,7 @@ BOOST_PYTHON_MODULE(libexiv2python) ; class_<Image>("_Image", init<std::string>()) + .def(init<std::string, long>()) .def("_readMetadata", &Image::readMetadata) .def("_writeMetadata", &Image::writeMetadata) |