【发布时间】:2012-05-10 06:26:22
【问题描述】:
Byte[] result = (Byte[])new ImageConverter().ConvertTo(img1, typeof(Byte[]));
//I cant use Image Converter add Image Class ? Drawing dll
MemoryStream ms = new MemoryStream();
img1.Save(ms, System.Drawing.Imaging.ImageFormat.Gif);
return ms.ToArray();
//Cannot see System.Drawing dll and there is no sth like Drawing.Imaging...
除了从外部源添加 dll 之外,还有其他选择吗(我的意思是我会复制它,然后将其添加为外部 dll)?我的项目在 windows 7 手机应用程序中,看不到 Drwaing.dll stj 那样
谢谢
【问题讨论】:
-
我假设当您输入“sth”时,您的意思是“something”?
-
您的问题似乎已经得到解答:- stackoverflow.com/questions/4732807/…
标签: image windows-phone-7 binary system.drawing