Open firezym opened 4 months ago
My understanding is that @takis code has not been merged, and so svg pictures are not compatible yet. I'd really like to see this feature added, too!
Hi @firezym
My patch has not been accepted, so if you want to use SVG you'd have to use my fork: https://github.com/takis/python-docx
I've tried your code and it works fine. Here's a screenshot of the resulting file opened in Word on macOS Sonoma.
@takis Thanks a lot! It's awesome. Looking forward to the future merge :)
I can directly insert png stream into docx, but failed when I change it to
format='svg'
. Is there a plan to add such support in the future or is there anything wrong with my code? @takisPNG stream is supported:
SVG stream is not supported:
Error as below: