diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-01-22 20:39:18 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-01-22 20:39:18 +0100 |
commit | 9a8a5ff1b0daa3293eb94c6cba16a42f43201715 (patch) | |
tree | 66412a5c7790a8e93335390b8b0f586f73e77a32 /src/exiv2wrapper_python.cpp | |
parent | c5cf46e198cbd3f77c7af8cc1a56c0140578cbae (diff) | |
download | pyexiv2-9a8a5ff1b0daa3293eb94c6cba16a42f43201715.tar.gz |
Read-only access to the dimensions of an image.
From an original patch by Matt Mossholder (mattcm@mourneblade.mossholder.com).
Diffstat (limited to 'src/exiv2wrapper_python.cpp')
-rw-r--r-- | src/exiv2wrapper_python.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exiv2wrapper_python.cpp b/src/exiv2wrapper_python.cpp index 717b0b4..96f9c11 100644 --- a/src/exiv2wrapper_python.cpp +++ b/src/exiv2wrapper_python.cpp @@ -109,6 +109,9 @@ BOOST_PYTHON_MODULE(libexiv2python) .def("readMetadata", &Image::readMetadata) .def("writeMetadata", &Image::writeMetadata) + .def("_getPixelWidth", &Image::pixelWidth) + .def("_getPixelHeight", &Image::pixelHeight) + .def("exifKeys", &Image::exifKeys) .def("getExifTag", &Image::getExifTag) .def("setExifTagValue", &Image::setExifTagValue) |