RAW Image file - what format is my data in?

前端 未结 3 1808
深忆病人
深忆病人 2021-02-14 21:16

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

3条回答
  •  抹茶落季
    2021-02-14 21:56

    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.

提交回复
热议问题