Demonstrate a example for the function b64img()
Important: With this method it will be used double storage, because the image exist twice (file and b64 string). At the moment there is no other function available. If the image from the upload is not needed, you could delete it.
Prepare your Word file and insert a field with the name of the element which contains the base-64 string.
In this example it's "varImgBase64String" a hidden field in Variables:
Choose image file*
Use the following JavaScript to convert an image into a base-64 string which will be converted back to an image in the PDF document:
Enable JavaScript to see the sample code
Label