Writing a basic DNG Header for 12-bit RAW

Started by zcream, March 02, 2014, 01:05:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zcream

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 ?