简体   繁体   中英

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.

Thanks

you should use WPF Shader Effects Library

it has a "negative" effect sample

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM