Re: wpf net 3.0 Changing Colors in a bitmap

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hello,
thank you for your informations,
but this is very problematic.
Because all is in software no accelaration by the graphic card.
Think on a 3D-Scene, I have a gray think, whatever.
Now I take a light which changes from red to blue,
This I this is possible as animation, so the think looks first red and then
slowly goes over to blue.

But this I cannot do with a simple 2D bitmap - is this reality?

Thank you and best regards
Rolf Welskes



""Walter Wang [MSFT]"" <wawang@xxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:D65V63dGIHA.540@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Rolf,

In WPF, you can use BitmapEffect to apply visual effects. We have 5
built-in effects: Blur, DropShadow, OuterGlow, Bevel, Emboss. However, we
currently don't have a built-in effect to change brightness or contrast,
but you can create a custom BitmapEffect to do this:

#WPF Bitmap Effects
http://msdn2.microsoft.com/en-us/library/ms735322.aspx#related_topics


Hope this helps.


Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.



.