diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-12-20 00:41:38 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-12-20 00:41:38 +0100 |
commit | 763b4f82ca485f0799c4b587b9d38a644e07dc36 (patch) | |
tree | c8546384d8e7aa89be07e0c377a0fe29f9e88af8 /src/exiv2wrapper_python.cpp | |
parent | 185f414aa8ceb4642b73d065dee3eb70570bb459 (diff) | |
download | pyexiv2-763b4f82ca485f0799c4b587b9d38a644e07dc36.tar.gz |
Added an iptc_charset property to the ImageMetadata class,
to get, set and delete the (optional) IPTC charset.
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 ac51fae..3a09a0c 100644 --- a/src/exiv2wrapper_python.cpp +++ b/src/exiv2wrapper_python.cpp @@ -153,6 +153,8 @@ BOOST_PYTHON_MODULE(libexiv2python) .def("_eraseExifThumbnail", &Image::eraseExifThumbnail) .def("_setExifThumbnailFromFile", &Image::setExifThumbnailFromFile) .def("_setExifThumbnailFromData", &Image::setExifThumbnailFromData) + + .def("_getIptcCharset", &Image::getIptcCharset) ; def("_registerXmpNs", registerXmpNs, args("name", "prefix")); |