~osomon/pyexiv2/pyexiv2-0.3

« back to all changes in this revision

Viewing changes to src/exiv2wrapper_python.cpp

  • Committer: Olivier Tilloy
  • Date: 2010-12-19 23:41:38 UTC
  • mto: This revision was merged to the branch mainline in revision 345.
  • Revision ID: olivier@tilloy.net-20101219234138-uk34lyu81w1ngyqf
Added an iptc_charset property to the ImageMetadata class,
to get, set and delete the (optional) IPTC charset.

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
        .def("_eraseExifThumbnail", &Image::eraseExifThumbnail)
154
154
        .def("_setExifThumbnailFromFile", &Image::setExifThumbnailFromFile)
155
155
        .def("_setExifThumbnailFromData", &Image::setExifThumbnailFromData)
 
156
 
 
157
        .def("_getIptcCharset", &Image::getIptcCharset)
156
158
    ;
157
159
 
158
160
    def("_registerXmpNs", registerXmpNs, args("name", "prefix"));