Re: CBitmap::getbitmapbits example
- From: "AliR" <AliR@xxxxxxxxxxxxx>
- Date: Tue, 03 Jan 2006 16:55:41 GMT
I don't know anything about WPF, and how it loads images.
I just wanted to say you might want to use GetDIBits instead of
GetBitmapBits
Search google for an example of how to use it.
AliR.
"bonk" <schwertfischtrombose@xxxxxx> wrote in message
news:e5ZjREIEGHA.2912@xxxxxxxxxxxxxxxxxxxxxxx
> Does anyone have an example on how to use the CBitmap::GetBitmapbits
> properly?
>
> This what I want to do (I thought GetBitmapbits is the right method to
use).
>
> I have a CBitmapobject and I wan to to serialize this to bytearray. This
> byterray is then used to display the image in in WPF (formerly known as
> avalon). (Basically I want to convert a CDC* to a .NET WPF Image) as
> decribed here:
>
> http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=187401&SiteID=1
>
.
- References:
- CBitmap::getbitmapbits example
- From: bonk
- CBitmap::getbitmapbits example
- Prev by Date: Re: How to change the font while window is loaded.. ??
- Next by Date: Re: Venting on .NET
- Previous by thread: CBitmap::getbitmapbits example
- Index(es):