disappeared dcraw functionality

Hi,

I have been using dcraw a lot and now trying LibRaw because I have a camer that uses cr3 files. In LibRaw I am missing two main featerus that used to be pasrt of DcRaw.

1. The possibility to keep original capture date when converting to tiff (-z in DcRaw)
2. The option to assign a camera icc profile after linear conversion ( -p )

Have those options been removed for a specifif reason?

Forums: 

1) Yes, there is no code that

1) Yes, there is no code that adjusts timestamps
2) dcraw's -p camera-profile is not 'assign camera profile', but covert from camera profile to output profile. This option is supported by dcraw_emu if compiled with LCMS support

-- Alex Tutubalin @LibRaw LLC

why

Thanks for your reply. But the -z switch to keep capture date was in dcraw. Why is not in libraw anymore. What is the logic behind that?

LibRaw is opensource;

LibRaw is opensource;

We will be glad to accept your patch that will support the functionality you need.

-- Alex Tutubalin @LibRaw LLC

-p switch in dcraw

The -p switch in dcraw was to apply a camera icc profile or embed

(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