views:

106

answers:

2

Lets say I have a black and white .jpeg image. How could I change the white pixels in the jpeg image to red using the hexidecimal format (ie going from #FFFFFFFF to #FFFF4F4B)?

+1  A: 

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

Muad'Dib
+3  A: 

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

Michael S. Scherotter
you should be careful with the Bitmap Effects, they can REALLY stomp on performance.
Muad'Dib