You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can convert your base64 to an ArrayBuffer, which you can convert to a Blob, and then you can pass an array of Blob to the submitFiles() function. You may want to set some additional properties on the Blob to make it behave more like a File object.
Something like this should work:
constblob=newBlob(yourArrayBuffer,{type: "image/png"});// set your own MIME typeblob.name="example.png";blob.lastModified=newDate().valueOf();siofu.submitFiles([blob]);
Hi, currently there are methods available only for file input. Is there any way to upload base64?
The text was updated successfully, but these errors were encountered: