Hi guys
I'm working with the DNG SDK in C++ for some time now. I need to be able to take a raw RGB (not camera raw) and convert it into a dng file. After playing arond with it for a few days, I realized creating the camera profile drastically affects the resulting dng image.
I can't seem to produce a dng file that was identical to the input source. My picture appears very washed out and I end up using the adobe color profiler to try to bring the image back close to it's original color.
I'm trying to find a way to produce dng files without the need to affect the colors in any way, the resulting picture should be bit identical to that of the raw RGB input file.
I'm not even sure if I can do this considering the usage of the dng format.
UPDATE
I've realized that my program is loading the RGB buffer into the fData of the stage3 image object. I have a feeling I need stages1 and 2 but i'm unsure if I need to and if so, then i will probaby need a source DNG to produce those stage1 and stage2 unless I can get stage1 or 2 from stage 3 (appears it works vice versa).
I'm able to do the reverse (DNG to RGB raw) by extracting the buffer from the stage3 render. but in this case, all the metadata has been filled in by the input DNG. However, going from RGB to DNG, I don't have the metadata to fill into stage 1 and 2.