Add new comment

Scene Linear Data

Go here:

https://github.com/butcherg/rawproc/blob/master/gimage.cpp

Scroll to line 77, and you'll find a C++ method that contains the code to turn 16-bit RGB data into RGB floating point 0.0-1.0. It's the loop within the conditional 'colors==3'. To meet your requirements, the 16-bit input data should not be scaled.