How can I get an images data in base64 from a file

2019-09-02 09:44发布

问题:

Is there a way to get the image data without FileReader()?

I'm looking for an older non-browser specific way to do it in javascript.