-
where is it?
I have made an offscreen dc. I used createcompatibledc and bitmap , and selectobject. But how can I get the position in memory of where each pixel color is located?
Thanx in advance!
-
The quick and easy (but slow) way to get colour information is to use GetPixel. The not so easy way is to use GetDIBits.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
-
Thanx. Thats copying back and forth. Ill do that if I can't find my answer. I remember there is a way to do direct read/write access. If I can just find it in memory I can use pointers to modify the pixels. I am still researching. Maby it is GetObjectA.
Popular pages
Recent additions