已知一张图片的路径var img_path = 'C:#/*.jpg';把图片转为blob格式的思路是:img_path > img > canvas > dataurl > blob img_path > img img > canvas > dataurl dataurl > blob 参考文章:blog.csdn.net/cuixiping/article/details/45932793