Re: wpf net 3.0 Changing Colors in a bitmap
- From: "Rolf Welskes" <rolf@xxxxxxxxxxxxx>
- Date: Mon, 29 Oct 2007 16:52:28 +0100
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.
.
- References:
- wpf net 3.0 Changing Colors in a bitmap
- From: Rolf Welskes
- RE: wpf net 3.0 Changing Colors in a bitmap
- From: "Walter Wang [MSFT]"
- wpf net 3.0 Changing Colors in a bitmap
- Prev by Date: Re: can't install or uninstall dotnet framework
- Next by Date: Re: Impersonation with users of 2 domain (nor trusted)
- Previous by thread: RE: wpf net 3.0 Changing Colors in a bitmap
- Next by thread: Re: wpf net 3.0 Changing Colors in a bitmap
- Index(es):