Processing Raw Data from Custom Built Camera

Hello! I am working on a bit of a hobby project you might say, more so researching the posibilities of buying a prebuilt chinese image sensor plus the parts needed to make it take raw video and save to a pc. Now the next step is processing this raw data and saving to something like dng's.

Is this something LibRaw would be suitable for doing? I'm presuming I would have to shoot a chart and take raw data from a camera already in your library shooting next to my frankencamera to tell it what colour is what?

Thank you :)

Forums: 

LibRaw does not saves RAW

LibRaw does not saves RAW files (inc. DNG), consider Adobe DNG SDK for that.

-- Alex Tutubalin