DataURL与File,Blob,canvas对象之间的互相转换的Javascript,原文地址:http://blog.csdn.net/cuixiping/article/details/45932793