WPF MediaElement 中的透明 avi

发布于 2024-08-05 00:29:38 字数 1435 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你好,陌生人 2024-08-12 00:29:38

您可以使用着色器效果来删除特定颜色。幸运的是,这种类型的着色器是 WPF 像素着色器效果库的一部分 - http://www.codeplex.com/wpffx 这是免费提供的。您应该查看的效果称为 ColorKeyAlpha。

这里可以找到有关该主题的更多信息,如果您不熟悉着色器博客系列包含您需要的所有信息 -

You can use a shader effect to remove a specific color. Luckily this type of shader is part of the WPF Pixel Shader Effects Library - http://www.codeplex.com/wpffx which is available free of charge. The effect that you should look at is called ColorKeyAlpha.

Here you can find more info on the subject and if you are new to shaders this blog series has all the information you will need -

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文