开发者

Display Individual Pixels in WPF

I have an application that needs to highlight individual pixels on an image. I don't want to edit the image, I just want to temporarily display red dots on top of certain pixels in the image. So far I have been using a Canvas to draw a whole lot of really small rectangles to highlight those pixels, but that has performance issues, and I was wanting to know if there w开发者_如何转开发as a better way to do it.


You can place another image layer over the original one with a transparent background and simply put red pixels on it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜