将system.windows.controls.image对象转换为字节数组

时间:2011-11-07 23:12:44

标签: c# wpf image bytearray

  

可能重复:
  WPF Image to Byte[]
  Load byte[] into a System.Windows.Controls.Image at Runtime

如何将system.windows.controls.image对象转换为字节数组?此类型不可序列化,因此您无法使用BinaryFormatter将其序列化为可MemoryStream的{​​{1}}。

0 个答案:

没有答案
相关问题