aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper_python.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-12-20 00:41:38 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-12-20 00:41:38 +0100
commit763b4f82ca485f0799c4b587b9d38a644e07dc36 (patch)
treec8546384d8e7aa89be07e0c377a0fe29f9e88af8 /src/exiv2wrapper_python.cpp
parent185f414aa8ceb4642b73d065dee3eb70570bb459 (diff)
downloadpyexiv2-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.cpp2
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"));