Add new comment

LibRaw is library, it is not

LibRaw is library, it is not targeted to be full dcraw replacement. So, there is no such thing as 'document mode' (-D or -d in dcraw), programmer have full access to unprocessed raw data, but no ready samples for direct emulation of dcraw -D (may be unprocessed_raw sample will solve your problem)

Second one (-o1 is sRGB output, so the default) is emulated by dcraw_emu -T

-- Alex Tutubalin @LibRaw LLC