Add new comment

Auto-bright is performed on

Auto-bright is performed on dcraw_make_mem_image() stage and changes the range of input data that mapped into output (gamma-corrected) image, based on image histogram (in linear space).

So, yes, it is done in linear space, but on output.

-- Alex Tutubalin @LibRaw LLC