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 server side and save it in the DriveApp. On the client side, I think I was able to capture the pasted image based on this page: http://joelb.me/blog/2011/code-snippet-accessing-clipboard-images-with-javascript/ And my client side code looks like this: function pasteHandler(e) { // We need to check if event