|
-
Jun 5th, 2002, 10:06 AM
#1
Thread Starter
Lively Member
Get Long Pixel Value
Hi everyone.
I need to get long pixel values out of a bitmap. I need to do this
for many, many pixels at once so GetPixel API is not feasible. I
found some GetDIBits and CreateDIBSection samples that seem
to do what I want, but they automatically retrieve the pixel
values into R, G, and B Byte values. I have tried to manipulate
the samples to get the long values, but to no avail. Can some
kind soul please post some sample code that gets long values
from a DIB?
Otherwise, does someone know how to get a long value
from RGB values?
Thanks, if you can help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|