Is there a way to convert url to base64 coding?

the function of online preview of uploaded pictures in the project uses the plug-in hhuploadify to see that the url address of the source code is formed through src = window.URL.createObjectURL (file); to form url and then preview online. Is there a way to directly convert file objects into base64 coding without having to regenerate url in such a format as blob:// or whether the generated url like blob:// can be converted into base64 coding

?
Mar.05,2021
Menu