svi*_*ick 10 wpf pixel bitmap
在WPF中使用位图是否有任何理智的方法?我喜欢类似的功能System.Drawing.Bitmap:能够从文件加载图像并获取和设置特定像素的颜色.
System.Drawing.Bitmap
我知道WriteableBitmap,但我不想与Array神知道 - 我知道什么(我在MSDN上找不到)或指针.我只是想读或写像素,应该不那么难!
WriteableBitmap
Array
我也知道我可以使用InteropSystem.Drawing.Bitmap在WPF中工作,但这也不好.
IV.*_*IV. 11
以下是关于如何从中获取像素信息的内容System.Windows.Media.Imaging.BitmapImage.
System.Windows.Media.Imaging.BitmapImage
虽然,如果您更喜欢使用a,System.Drawing.Bitmap您可能希望添加引用System.Drawing.dll并使用它.
System.Drawing.dll
这是一篇关于WPF图像处理的论坛帖子.
归档时间:
15 年,10 月 前
查看次数:
26570 次
最近记录:
7 年,3 月 前