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.
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.
I need to copy only the alpha byte from ARGB32 to ALPHA8 type bitmap.Do you happen to have some example call for this?
Nevermind, tried it and it works, thank you very much!!
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.
I need to copy only the alpha byte from ARGB32 to ALPHA8 type bitmap.Do you happen to have some example call for this?
Nevermind, tried it and it works, thank you very much!!