I am using libraw to extract non-processed data for my isp processing.
but I found the out image from “ imgdata.rawdata.raw_image” and processing by my isp is really dark compare to dngCodec result. my dng file is converted from sony arw file and it looks like stored in lostless JPEG in dng file. so could you please confirm that this raw data after unpack is the real original raw data and without any processing in unpack function? base on my reading the c code, it looks like no prcessing is done.
thanks very much.
For DNG files, linearization
For DNG files, linearization curve is applied during unpack(), but no other processing
-- Alex Tutubalin @LibRaw LLC