I\'m working on processing .raw image files, but I\'m not sure how the image is being stored. Each pixel is a unsigned 16-bit value, with typical values ranging from 0 to about
Forgot what the R/G/B of 16-bit was:
"there can be 5 bits for red, 6 bits for green, and 5 bits for blue"
http://en.wikipedia.org/wiki/Color_depth#16-bit_direct_color
Seen it used in game code before.
Complete shot in the dark though being as there are also proprietary RAW formats.