I need to change from time to time the address of linked images in my powerpoint presentation. I can read the address by finding the shape which containes a linked picture and ...
rels = str(shape.part.rels.xml, 'utf-8')
link = rels.split('image" Target="')[1].split('" TargetMode="External"')[0]
print(link)
but I can't modify the xml code.
Thanks for any advice, Thomas
I need to change from time to time the address of linked images in my powerpoint presentation. I can read the address by finding the shape which containes a linked picture and ...
rels = str(shape.part.rels.xml, 'utf-8')
link = rels.split('image" Target="')[1].split('" TargetMode="External"')[0]
print(link)
but I can't modify the xml code.
Thanks for any advice, Thomas