惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
小众软件
小众软件
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
B
Blog
量子位
B
Blog RSS Feed
Vercel News
Vercel News
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
爱范儿
爱范儿
Jina AI
Jina AI
C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG

博客园 - 叶晓丰

excel导入记录 2342432432 list2json C#将Json字符串反序列化成List对象类集合 list排序 MSSQL自动备份数据库 IIS 7完全攻略之日志记录配置(摘自网络) 今天开始57商城开发 sSELECT INTO 和 INSERT INTO SELECT记录 网站性能优化之缓存篇 通过Web Services上传和下载文件 jquery.tablesorter - 叶晓丰 - 博客园 基于wcf的异步上传 - 叶晓丰 - 博客园 .net 获取目录uri |虚拟目录 ajax开源网址 jQuery图片滚动十佳插件重点介绍 jqery正规表达式 - 叶晓丰 - 博客园 jqery插件资源 弹出窗体
把image转换为byte[]
叶晓丰 · 2011-01-27 · via 博客园 - 叶晓丰
System.IO.MemoryStream Ms = new MemoryStream();
this.pcbEquipment.Image.Save(Ms, System.Drawing.Imaging.ImageFormat.Jpeg);
byte[] img = new byte[Ms.Length];
Ms.Position = 0;
Ms.Read(img, 0, Convert.ToInt32(Ms.Length));
Ms.Close();

posted @ 2011-01-27 21:58  叶晓丰  阅读(524)  评论(2)    收藏  举报