Silverlight Pixel Api

Let's say I have a black and white .jpeg image. How can I change white pixels in a jpeg image to red using hexadecimal format (i.e. going from #FFFFFFFF to # FFFF4F4B)?

+2


source to share


2 answers


You can also use a bitmap pixel shader effect. A similar example is shown here.



+3


source


if you are using silverlight 3 then you should look at WriteableBitmap here is an example



+1


source







All Articles