首页 新闻 赞助 找找看

Silverlight图片处理

0
悬赏园豆:5 [已解决问题] 解决于 2012-03-21 21:51

请问各位,在Silverlight中,有什么好的方法对图片进行“灰化”处理,类似Photoshop一样的处理,谢谢,各位大牛

pstune的主页 pstune | 菜鸟二级 | 园豆:239
提问于:2012-03-19 21:13
< >
分享
最佳答案
0

参考Fade image to grayscale in silverlight

Couple ways to do it.

1) pre-compute gray-scale image; place it on top of the color image; animate opacity of the gray scale image from 0 to 1 to get the desired effect.

2) use pixel shader. wpf shader library might have one.

收获园豆:5
dudu | 高人七级 |园豆:31075 | 2012-03-20 11:53
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册