Skip to content Skip to sidebar Skip to footer

How To Reconstruct A Blob For An Image From A Binary String (client Side Hidden Form Field) In Google Apps Script

I am trying to use Google HTMLService to process a form from the client side. The tricky part is that I want to capture a pasted image (from clip-board) in the form, send it to the

Solution 1:

Don't use readAsBinaryString, instead use readAsDataURL, which gets a base64, and you won't have that mess of chars.

If you need the server side code you can follow my code and Sandy Good tutorial here:

Uploading Multiple Files to Google Drive with Google App Script


Post a Comment for "How To Reconstruct A Blob For An Image From A Binary String (client Side Hidden Form Field) In Google Apps Script"