简体   繁体   中英

IE - how to read client image file as base64

I am quite interested to know if there is a way to read local files with IE8 (as FF File API does)? I mean read an image file with Internet Explorer 8 and convert it to base64 encoding then assign it to a JavaScript variable.

I know there is a way in FF, but is it possible with IE8? I couldn't find any complete snippets showing the effect, so any useful tutorial is much appreciated :)

IE可以发出一个AJAX请求来获取二进制流,但它必须位于同一个域上或通过服务器端代理

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM