Add new comment

There are two options for

There are two options for (no) auto-scaling:

1) params.no_auto_bright - disables ETTR(-like) automated brightness correction, entire image is scaled to 65535/(metadata_derived_maximum-black) instead of 65535/(real_data_max_by_histogram - black).

2) params.no_auto_scale - disables entire scale_colors() call (for example, to get not modified data in image array).

Second case is special use (e.g. someone may want to do own interpolation via callback and want to see unchanged data on this step).

In (normal) processing case scaling is significant to get same scaled data from all different sensor bit-counts.

-- Alex Tutubalin @LibRaw LLC