3 ms·
Also, here is a little JSFiddle that can transform the encoded text into a viewable image using JavaScript in the browser. It could be easily extended to handl
by BHSPitMonkey 14y ago
Also, here is a little JSFiddle that can transform the encoded text into a viewable image using JavaScript in the browser. It could be easily extended to handle HTML5 audio and video formats, as well as automatic type detection. Additionally, It seems that (at least with Chrome) the browser doesn't care which filetype you specify; An <img> tag will render JPEG data prefixed with "image/png".
http://jsfiddle.net/RKNUM/ http://jsfiddle.net/RKNUM/