I know it can be used to convert a bitmap into an array and back, but what else?
Printable View
I know it can be used to convert a bitmap into an array and back, but what else?
I don't think it will do that....
Look it up on www.allapi.net and www.vbapi.com
Using For..Next iterations in a memory array runs much faster than the same iterations using GetPixel on a DC.
Use GetDIBits and SetDIBitsToDevice.
The DIBits APIs are useful but not entirely great, because so much work has to be done to account for various color depths.
If you want real spee, check out Luckys gaming VB - http://rookscape.com/vbgaming/tutAY.php