Add new comment

(using github copy of dcraw.c

(using github copy of dcraw.c 1.478 to highlight lines)

-p switch sets cam_profile variable: https://github.com/ncruces/dcraw/blob/master/dcraw.c#L10187

The only code line where this variable is used is apply_profile call: https://github.com/ncruces/dcraw/blob/master/dcraw.c#L10458

The apply_profile function applies the profile, not embed it: https://github.com/ncruces/dcraw/blob/master/dcraw.c#L9651

-- Alex Tutubalin @LibRaw LLC