darktable preset inspired by KodakTri-X 400
Documentary black and white: contrasty, with honest grain.
- Film
- GA — 003 · sheet, datasheet, sources
- Pack
- Free packFree
- darktable
- 5.6 or later
- In darktable
- Styles › Pellicules › N&B
- File
- Pellicules - N&B - Kodak Tri-X 400.dtstyle
A darktable 5.6 style built from the Kodak Tri-X 400 datasheet: native modules, no LUT, measured on real RAW files. In the free pack.
Translation into darktable
| Module | Role | Settings |
|---|---|---|
| color calibration (main instance) | Switched off, so chromatic adaptation cannot tint the gray; left at darktable's default settings so it can be switched back on | Disabled; “as shot in camera”, CAT16 |
| color calibration (instance “N&B”) | Black-and-white conversion with weights integrated from the spectral sensitivity curve of Kodak datasheet F-4017, on an equal-energy basis | Gray = 0.3149·X + 0.2994·Y + 0.3857·Z |
| tone curve | Long toe, steep midtones, no shoulder | Nodes (0, 0) (0.08, 0.03) (0.2, 0.13) (0.35, 0.3) (0.5, 0.5) (0.65, 0.69) (0.8, 0.86) (0.92, 0.955) (1, 1) |
| grain | Sized from the RMS granularity of 17 | Coarseness 2000, strength 32, midtones bias 70 |
Measurements
The measurements come from a few test photos of our own, which are not published on this site. The photos shown here are different.
| Photo | Zone | Baseline | Metric | Before | After | Film expectation |
|---|---|---|---|---|---|---|
| 0775 | sky | Luminance conversion | L (channel weights only) | 55.2 | 58.4 | Lighter: the film is more blue-sensitive than the eye |
| 0989 | skin | Luminance conversion | L (channel weights only) | 79.3 | 75.5 | Darker skin |
| 1014 | pink T-shirt | Luminance conversion | L (channel weights only) | 47.8 | 46.6 | Darker reds |
| 0775 | whole image | Base rendering | Lsd (contrast) | 14.3 | 18.0 | Punchy midtone contrast: higher |
| 1014 | whole image | Base rendering | Lsd (contrast) | 30.7 | 33.5 | Punchy midtone contrast: higher |
| 1014 | whole image | Base rendering | L5 (blacks) | 2.6 | 0.8 | Deep blacks |
| 1014 | whole image | Base rendering | C (neutrality) | 8.6 | 0.0 | Neutral gray, no color cast |
Base rendering: darktable’s default processing of the RAW file, without the preset. Luminance conversion (black and white): the same photo converted with plain luminance weights, to isolate the effect of the film’s spectral sensitivity.
What the style changes
The style converts the photo to black and white the way Tri-X sees color, then adds its contrast and grain. What it is based on is detailed on the Kodak Tri-X 400 film page. All figures below come from renders made with darktable-cli 5.6.0 at 1000 px, measured in CIELab.
- Gray from the film’s spectral sensitivity. A color calibration instance named “N&B” mixes the channels with weights computed from Kodak’s published sensitivity curve for Tri-X. The curve is integrated against the CIE 1931 color matching functions: this is how darktable builds its own film presets, such as “monochrome | ILFORD HP5+”. Checked on HP5 Plus, the method reproduces darktable’s preset weights within 0.004.
- Compared with a plain luminance conversion, and before any curve or grain, the sky gets lighter (L 55.2 → 58.4), while skin (79.3 → 75.5) and a pink T-shirt (47.8 → 46.6) get darker. That matches the datasheet and the reviews.
- Contrast with a long toe and no shoulder. The tone curve lowers the shadows gradually, steepens the midtones and lets the highlights keep separating up to white. Contrast rises from 14.3 to 18.0 on one test photo and from 30.7 to 33.5 on another. The darkest 5 % of the frame drop from L 2.6 to 0.8.
- Visible grain. Grain is sized from the RMS granularity of 17. Its strength (32) is higher than in the T-Max 400 (21) and HP5 Plus (26) styles.
- A truly neutral gray. Chroma falls from 8.6 to 0.0: no color cast is left.
What it leaves alone
-
Your base development. The style contains no exposure, no sigmoid or filmic and no LUT. Those settings stay as you made them.
-
But it switches off your main color calibration. The style contains two color calibration instances:
- a disabled one with no instance name, which replaces your main color calibration and switches it off. It is set to “as shot in camera” with CAT16, like darktable’s default, so you can switch it back on;
- the “N&B” instance, which is added and does the black-and-white conversion.
Why: when an active color calibration runs after the black-and-white conversion, its chromatic adaptation tints the gray. We measured a blue cast of b* −4 to −8 in our renders before adding the disabled instance. darktable’s built-in black-and-white presets also bypass chromatic adaptation, and film does not white-balance either.
-
It also replaces your tone curve and grain. When you apply a style from the lighttable or the darkroom, each of its modules replaces the instance of the same module with the same name, if the photo has one, and is added otherwise. The style’s tone curve and grain carry no instance name, so they replace any settings you had already made in those two modules. Your earlier settings remain in the history.
-
Your pipeline order. The style file carries no module order list, so it does not impose one on your image.
Exporting with a style, or rendering with darktable-cli, works differently: every module of the style is added as a separate instance, and the disabled color calibration still switches off the existing one. Our measurements were made that way, on darktable’s default rendering. The details are in Install and apply darktable styles.
Limits
- An interpretation, not a calibration. No film was scanned or measured to tune the style.
- The spectral curve. Kodak measured it on the older Tri-X Pan 5063 emulsion. The style’s weights were computed from a reading of the graph by eye (±0.05 log). A later, finer trace of the same graph, shown on the film page, agrees within 0.011 log from 350 to 620 nm; the differences are in the fall-off beyond 640 nm.
- The developer. Real Tri-X changes with the developer (D-76, HC-110, Rodinal…). The style aims at a classic D-76 rendering.
- The grain. darktable’s grain is procedural noise: it imitates the texture of film grain, not the shape of real silver grains.
Tips
- Apply it early. If you plan to fine-tune the tone curve or grain yourself, apply the style first: it would replace those settings if you made them before.
- See the spectral conversion alone by switching off the tone curve and grain modules the style set.
- Back to color: switch the main color calibration back on and switch off the “N&B” instance.
- Installation: see Install and apply darktable styles.
Get the preset