Stream stream = new MemoryStream(data);
BinaryReader r = new BinaryReader(stream);
int iRawImageWidth = r.ReadInt32();//读取图像的宽度
int iRawImageHeight = r.ReadInt32();//读取图像的高度
wx659baf6d4e157 博主文章分类:c# ©著作权
文章标签 读取图像 文章分类 JavaScript 前端开发
Stream stream = new MemoryStream(data);
BinaryReader r = new BinaryReader(stream);
int iRawImageWidth = r.ReadInt32();//读取图像的宽度
int iRawImageHeight = r.ReadInt32();//读取图像的高度
上一篇:程序异常重启代码
下一篇:c# word 删除指定内容
C# 语法中级
1.采用stream流形式写入: 2.sql语句采用parameter
C#操作Excel(读取)
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M