Hi,
I cannot seem to add an image using the addImage method with the image data being in base64. Is there a way to do this? Seems as if it should be supported as it is when using image tags.
Using phpdocx 11 advance.
Thanks!
Hi,
I cannot seem to add an image using the addImage method with the image data being in base64. Is there a way to do this? Seems as if it should be supported as it is when using image tags.
Using phpdocx 11 advance.
Thanks!
Hello,
UPDATE: phpdocx 12 has added support to add base64 images in addImage and replacePlaceholderImage methods.
addImage supports adding images from files and streams, but not as base64. Image as base64 is only supported using embedHTML (or replaceVariableByHTML).
We have opened a task to add support in a future release of phpdocx.
Regards.