White balance and black level data can be retrieved after open_file (cam_mul, black and cblack[]).
Unfortunately, auto-brightening uses local variables, you need to modify copy_mem_image() code to save parameters somewhere if you use dcraw_make_mem_image() call.
White balance and black level data can be retrieved after open_file (cam_mul, black and cblack[]).
Unfortunately, auto-brightening uses local variables, you need to modify copy_mem_image() code to save parameters somewhere if you use dcraw_make_mem_image() call.