Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: zcream on March 02, 2014, 01:05:51 PM

Title: Writing a basic DNG Header for 12-bit RAW
Post by: zcream 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 ?