How to automate image insertion (embbed) of docs with external images

Hello. I want to automatically open a doc with external images (.odt, .doc) and save it embedding those images.
I tryed to convert HTML pages with embedded images, but the converter files when making the .doc (making an unreadable file) so I base64 decoded the images and left them outside the HTML, which resulted in a good .doc/.odt file but the images remain externally (so if you later copy/move the generated .doc it will loose it’s images).

Does anyobody know how to approach the solution of this problem?

1 Like