Hello. I was asked to base64-encode files such as Word documents (which contain images) and then post them to a Jira server. I found code to base64 encode a file here:
https://community.intersystems.com/post/encoding-base64-stream-chunk-siz...
It seemed to work, but when someone tried to open the Word document, the images inside could not be displayed.