I solved the problem. I had to convert to Base64 first. I followed the process as outline in this tutorial –
One thing to note, the prefix string needs to have a comma at the end of the static text.
“data:image/png;base64,”+ out_base64_image
I solved the problem. I had to convert to Base64 first. I followed the process as outline in this tutorial –
One thing to note, the prefix string needs to have a comma at the end of the static text.
“data:image/png;base64,”+ out_base64_image