@stevekrouse While you can definitely do it manually there is a standard and ostensibly quicker way of converting File/Blob instance to dataURL: https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL
File
Blob
To save you from the FileReader setup boilerplate I've created convertBlobToDataURL helper. You can see it in action here: https://www.val.town/v/vladimyr/dataURL_example
FileReader
convertBlobToDataURL
Very cool! Thank you!! I was looking for that
@stevekrouse While you can definitely do it manually there is a standard and ostensibly quicker way of converting
File
/Blob
instance to dataURL: https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURLTo save you from the
FileReader
setup boilerplate I've createdconvertBlobToDataURL
helper. You can see it in action here: https://www.val.town/v/vladimyr/dataURL_exampleVery cool! Thank you!! I was looking for that