diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-03-17 00:12:41 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-03-17 00:12:41 +0100 |
commit | 9843496fb95d5d142632a3239af9d322e166f3e9 (patch) | |
tree | 6832336af4f6ea10e2d80713fbe5dbc0ffdcd710 /src/exiv2wrapper_python.cpp | |
parent | cf80099581568c17a49160b594ee17e690e64d5c (diff) | |
download | pyexiv2-9843496fb95d5d142632a3239af9d322e166f3e9.tar.gz |
New data_buffer() method to get the image buffer.
Diffstat (limited to 'src/exiv2wrapper_python.cpp')
-rw-r--r-- | src/exiv2wrapper_python.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) ; } |