Reputation: 13690
I would like to play a video clip within my WPF application, and make the green color in the video transparent.
How can this be done ?
Sample Video: http://www.youtube.com/watch?v=2XJVkAOEjp0
Upvotes: 0
Views: 1607
Reputation: 4671
You need to use shaders as explained in this SO question.
WPF Pixel Shader library won't compile out of the box, you will need to make some changes as explained here, in the post before last.
Upvotes: 1