数组如何存储图片?如何循环显示出来
数组如何存储图片?如何循环显示出来
------解决方案--------------------C# code
byte[] picbyte; //图片保存在数组中?
Stream ms;
OpenFileDialog ofdSelectPic = new OpenFileDialog();
ofdSelectPic.ShowDialog();
ms = ofdSelectPic.OpenFile();
picbyte = new byte[ms.Length];
ms.Position = 0;
ms.Read(picbyte, 0, Convert.ToInt32(ms.Length));
------解决方案--------------------