COnvert image to base64 with js
Unsolved
QML and Qt Quick
-
Hi,
kindly help to convert an image or image url to base64 using javascript. I m using qtquick in arcgis appstudio -
Hi,
kindly help to convert an image or image url to base64 using javascript. I m using qtquick in arcgis appstudio@alpha_coder
Check to see if the environment where you are using JavaScript has abtoa()
function to produce base64. If not, a sample implementation is given at e.g. https://stackoverflow.com/a/246813/489865 -
@alpha_coder said in COnvert image to base64 with js:
base64 using javascript.
Is this js in QML?
Text { width: 100 height: 20 text: Qt.btoa("Hello base64") }