11 2016 档案
摘要:基本过程 1) 调用 FileReader 的 reader.readAsDataURL(img); 方法, 在其onload事件中, 将用户选择的图片读入 Image对象. 2) 在image对象的 onload 事件中, 通过 canvas 的 canvas.getContext('2d') 的
阅读全文
摘要:其中 C#里 图片和BASE64互转的方法, 参见我的上一篇博客。
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Drawing; 4 using System.IO; 5 using System.Linq; 6 using System.Web; 7 using System.Drawing.Imaging; 8 // 博客园 aC#Coder 整理 ...
阅读全文