v1.3.0
-
Could read and write the value of List type in XMP metadata.
For example:>>> i.modify_xmp({"Xmp.dc.subject": ["flag1", "flag2", "flag3"]}) >>> i.read_xmp()["Xmp.dc.subject"] ['flag1', 'flag2', 'flag3']
When pyexiv2 processes it, if the raw value contains
', '
, the final value will be wrong. -
Add method
read_raw_xmp()
. Calling it will return the raw XMP metadata in XML format without mistake.