Extracting individual bits from a byte
What kind of array are you trying to put it into and how many dimensions
does the array have, one or two (if one, how is the data laid out, column
first or row first)?
--
Rick (MVP - Excel)
"simonc" wrote in message
...
i'm trying to get the data out of a monochrome bmp file which has one bit
per
pixel. I can read the byte containing 8 consecutive pixels but I'm getting
tied in knots trying to find the most efficient way of reading the
individual
bits into an array.
Grateful for advice
|