Author Topic: Writing a basic DNG Header for 12-bit RAW  (Read 2192 times)

zcream

  • Freshman
  • **
  • Posts: 52
Writing a basic DNG Header for 12-bit RAW
« on: March 02, 2014, 01:05:51 PM »
I am using the chdk_dng code used within raw2dng for a project of time.
I am currently trying to add a basic DNG header for a Point Grey USB3 vision camera and add the packed 12-bit RAW data to the body.

I have so far failed.

I believe the problem is related to code that pads 10, 12 or 14-bits to 16-bits and then writes out a standard TIFF.

Could someone point out a very basic usable DNG  header ?