【发布时间】:2012-09-13 19:07:33
【问题描述】:
就像标题一样。我需要获取每个值:特定像素的红色、绿色和蓝色。最好的方法是什么?我没有在 WriteableImage 中找到任何 copypixels 的示例。
【问题讨论】:
-
我已经编辑了你的标题。请参阅“Should questions include “tags” in their titles?”,其中的共识是“不,他们不应该”。
-
我假设
WriteableImage你的意思是WriteableBitmap。看看Finding specific pixel colors of aBitmapImage(尤其是PixelColor[,] GetPixels(BitmapSource source))