Output curve is used only on Output curve is used only on output phase (dcraw_make_mem_image or dcraw_ppm_tiff_writer) So, you may modify source and replace calls to gamma_curve(...) by own output curve creation. No direct way in LibRaw to do that, we'll consider to add some interface for user-defined curve in 0.19 release. -- Alex Tutubalin @LibRaw LLC reply
Output curve is used only on output phase (dcraw_make_mem_image or dcraw_ppm_tiff_writer)
So, you may modify source and replace calls to gamma_curve(...) by own output curve creation.
No direct way in LibRaw to do that, we'll consider to add some interface for user-defined curve in 0.19 release.