开发者

Silverlight Pixel Api

开发者 https://www.devze.com 2022-12-08 11:15 出处:网络
Lets say I have a black and white .jpeg image.How could I change the wh开发者_StackOverflow中文版ite pixels in the jpeg image to red using the hexidecimal format (ie going from #FFFFFFFF to #FFFF4F4B)

Lets say I have a black and white .jpeg image. How could I change the wh开发者_StackOverflow中文版ite pixels in the jpeg image to red using the hexidecimal format (ie going from #FFFFFFFF to #FFFF4F4B)?


You could also use a Pixel Shader Bitmap Effect. Here is a similar example.


if you are using silverlight 3 then you should look at WriteableBitmap here is a sample

0

精彩评论

暂无评论...
验证码 换一张
取 消