WPF WriteableBitmap

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-06-06T16:14:54Z Indexed on 2010/06/06 16:22 UTC
Read the original article Hit count: 455

Filed under:
|
|

I'm using WriteableBitmap on an image of type Bgra32 to change the pixel value of certain pixels. I'm setting the value to 0x77CCCCCC.

After calling WritePixels, the pixels I set to 0x77CCCCCC show up with a value of 0x77FFFFFF.

Why does this happen? How do I make the pixels have the correct value?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf