Add new comment

Got it, thanks

Got it, thanks

Yes, AsShot white balance is broken in DNG tags:
| 25) AsShotNeutral = inf 8.872800664e-007 200 (1000/0 1000/1127039858 1000/5)

LibRaw by default uses daylight WB (calculated from ColorMatrix* DNG tags), so it works ok. If camera WB is specified explicitly (params.use_camera_wb = 1), than image becomes wrong (as expected).

Looks like we need additional check for camera WB range and fallback to Auto if camera wb looks corrupted.

Thank you for the sample.

-- Alex Tutubalin