From 9843496fb95d5d142632a3239af9d322e166f3e9 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Wed, 17 Mar 2010 00:12:41 +0100 Subject: New data_buffer() method to get the image buffer. --- src/exiv2wrapper_python.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/exiv2wrapper_python.cpp') diff --git a/src/exiv2wrapper_python.cpp b/src/exiv2wrapper_python.cpp index aab2925..5a03132 100644 --- a/src/exiv2wrapper_python.cpp +++ b/src/exiv2wrapper_python.cpp @@ -148,6 +148,8 @@ BOOST_PYTHON_MODULE(libexiv2python) .def("_previews", &Image::previews) .def("_copyMetadata", &Image::copyMetadata) + + .def("_getDataBuffer", &Image::getDataBuffer) ; } -- cgit