Skip to content

[Feature Request] [LightCraft] Support .dcp camera profiles directly #3940

Open

Description

@ticket-craft

Description

DCP is the open, publicly documented camera-profile format. Supporting it natively would let LightCraft import the enormous existing library of profiles — Adobe's free camera-matching profiles for most cameras ever sold, plus every calibration users have built themselves with free non-Adobe tools — without anyone having to convert, resample or reverse-engineer anything.

Right now the only route in is a custom JSON format that has to be generated from a DCP and, in my experience, can't reproduce the original faithfully.

Why this is worth doing

The format is open and well documented. Adobe publishes the DCP specification (Digital Negative / camera profile SDK), and the format has been reverse-engineered and reimplemented independently for well over a decade.
dcpTool, open-sourced in 2009 by Sandy McGuffog, reads and writes DCPs, converts to and from XML, and documents the colour model in detail — including that
profile tables are scene-referred in ProPhoto primaries with gamma 1, node spacing is uniform, and interpolation between nodes is expected. Anyone can implement this without touching Adobe code.

There is already a large free ecosystem. Non-Adobe tools that create and edit DCPs include:

  • dcpTool — read/write/convert, XML round-trip, hue-twist editing
  • darktable — module for generating and applying DCPs, plus dcp support in its input pipeline (Lua and community scripts for LUT-based profiles)
  • RawTherapee / ART — DCP input support, including dual-illuminant handling
  • DNG Converter — ships Adobe's Standard and Camera Matching profiles as DCPs, free download
  • Calibrite / X-Rite and open chart tools — produce DCPs from a ColorChecker shot
  • Python-based tooling — several community packages for reading, editing and generating DCPs

None of these require a paid Adobe subscription. A photographer who shoots Sony, Canon, Nikon, Fuji, Olympus or Pentax can very often find or build a DCP for their body today, for free. At the moment none of that work reaches LightCraft.

Adobe's own profiles are free. The DNG Converter ships Standard and Camera Matching profiles for essentially every supported camera. Those DCPs are the baseline that every other raw processor is compared against, and users expect to find them.

It removes the lossy middle step. Any conversion into a bespoke format has to throw information away — the format can only carry what it can name. In the current JSON schema there is no place to record which illuminant a profile was built for, so a two-illuminant DCP gets flattened to one and the port is wrong for half the lighting conditions it was designed for. Reading DCP natively makes that problem disappear rather than approximating around it.

What supporting DCP properly requires

Not a small job, and I'd rather be straight about the scope than undersell it:

  1. Tables in the source space. DCP profile tables are scene-referred, ProPhoto primaries, gamma 1. Internal processing has to either work in that space for the table stage or convert consistently in and out of it. Applying a DCP-style table to already tone-mapped sRGB data is not the same operation.

  2. Two illuminants, interpolated per frame. Most real DCPs carry two colour matrices and two hue/sat maps, one at Standard Light A and one at D65. Adobe interpolates the pair per frame from as-shot white balance. A single-matrix, single-table pipeline cannot represent this; it needs the format, the parser and the pipeline to carry both and blend them.

  3. Stage ordering. Adobe's order is: colour matrix, hue/sat map, exposure, tone curve, then the look table. Getting the hue/sat map on the correct side of exposure matters, because a brightness-dependent twist applied at the wrong stage turns into a colour cast that varies with scene brightness.

  4. Forward matrix / camera calibration and the DNG-only optional blocks. ForwardMatrix, CameraCalibration, `

Ticket details

App LightCraft
Type Feature Request
Reported by Vitor S. (Discord username: zanago.) — Discord user ID 793451489788035093
Submitted 2026-11-07 18:55:47 UTC
Discord server ArtCraft (1359579021108842617)
Submitted from channel 1558917176453374102
Submission ID TR-TAW0XWAYQA

Submitted through Discord by Vitor S. and created by the Ticket Relay integration on their behalf. The reporter may not have a GitHub account, so replies here will not reach them automatically.

Activity

  1. ticket-craft commented on Nov 7, 2026

    @ticket-craft
    Author

    This was already fixed in #1063: it’s in v0.19.0.

    Possibly related: #1281, #204 and #3388.

  2. FredApps commented on Nov 9, 2026

    @FredApps
    Contributor

    Triage clarification: #1063 merged user-supplied DCP import, but this request also specifies dual-illuminant interpolation, source color space and stage ordering. Those details need verification against the implementation before treating the full request as complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions