[英]Invert colors of a WPF Image
I've been searching everywhere, can't find any answer. 我到处搜寻,找不到任何答案。
How could I invert the colors of a BitmapSource or an Image (System.Windows.Controls.Image) from WPF. 如何从WPF反转BitmapSource或图像(System.Windows.Controls.Image)的颜色。
Thanks 谢谢
you should use WPF Shader Effects Library 您应该使用WPF Shader Effects库
it has a "negative" effect sample 它有一个“负面”效果的样本
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.