bitmap memory manipulation

4 posts / 0 new
Last post
Ami603
Ami603's picture
Offline
Last seen: 4 years 3 months ago
Joined: 2011-10-11 23:11
bitmap memory manipulation
Hello, as the topic says, i need an example for manipulating a bitmap's memory. want to pick some data and move it to another bitmap.
thomas
thomas's picture
Offline
Last seen: 1 day 5 hours ago
Joined: 2011-05-16 14:23
Re: bitmap memory manipulation
You should avoid direct access into a bitmap's memory. Use BltBitMap or BltBitMapTags to copy parts of one bitmap into another one. It will automatically deal with all possible pixel formats.
Ami603
Ami603's picture
Offline
Last seen: 4 years 3 months ago
Joined: 2011-10-11 23:11
Re: bitmap memory manipulation
I need to copy only the alpha byte from ARGB32 to ALPHA8 type bitmap.Do you happen to have some example call for this?
Ami603
Ami603's picture
Offline
Last seen: 4 years 3 months ago
Joined: 2011-10-11 23:11
Re: bitmap memory manipulation
Nevermind, tried it and it works, thank you very much!!
Log in or register to post comments