I have a proprietary raw camera image format taken from a Aptina camera.
Its raw file format is 16bit per color channel, 'GRBG' mode with file extension
.raw. No headers, nothing, just plan raw bayer samples. I want to convert this format to DNG, as none of the raw image decoders (dcraw, gimp, …) seem to support it.
Is there any tool/converter which can handle Aptina camera sensor raw bayer format, and allow me to convert it to DNG format?
If not, I want to write a small C code to convert it myself. Where can I find the detailed specification about DNG format, its structure etc.? Any document explaining all this DNG format?