There is no such things as a There is no such things as a 'bit depth': Imagine Sony ARW2 format (described in details here: http://www.rawdigger.com/howtouse/sony-craw-arw2-posterization-detection ): - local 7-bit lossy storage - 11-bit non-linear after lossy (de)compression - 0..17204 data range after linearization curve (so, 'more than 14bits' Also, advertized as 14-bit ADC (Sony A7 series), but data gapped even in shadows). So, what bitdepth? LibRaw provides data range (maximum value) in imgdata.color.maximum -- Alex Tutubalin @LibRaw LLC reply
There is no such things as a 'bit depth':
Imagine Sony ARW2 format (described in details here: http://www.rawdigger.com/howtouse/sony-craw-arw2-posterization-detection ):
- local 7-bit lossy storage
- 11-bit non-linear after lossy (de)compression
- 0..17204 data range after linearization curve (so, 'more than 14bits'
Also, advertized as 14-bit ADC (Sony A7 series), but data gapped even in shadows).
So, what bitdepth?
LibRaw provides data range (maximum value) in imgdata.color.maximum