I wonder whether there is a way using LibRAW to process the RAW data (I think I read thru the manual how to do that) and to store that back in the RAW file (a NEF, for instance). To simplify, is it possible with LibRAW to *modify* a RAW file, instead than unpacking it for storage in a different format.
All the best for 2013, still 2 hours to go in Italy :)
David
The only common way to write
The only common way to write RAW files is to write DNG format ones. Adobe DNG SDK can be used for this task.
-- Alex Tutubalin @LibRaw LLC
Is the content of the DNG
Is the content of the DNG payload a 16bit/sample stream? Or the unpacked data must be packed somehow after the processing?
----
Davide Anastasia
Developer of Luminance HDR
Yes, you may simple pack
Yes, you may simple pack linear 16-bit data (bayer pattern or after demosaic) into DNG
-- Alex Tutubalin @LibRaw LLC