Skip to content

Sony A7R IVA: residual colour and tone differences after #732 — 64-RAW comparison and coordination report #763

Open

Description

@QuirkyTurtle94

Status update — 11 October 2026

Following the maintainer update:

Summary and user impact

My Sony A7R IVA (ILCE-7RM4A) RAWs still often open with muted colour, different hue separation and/or an unsatisfying tonal starting point compared with Sony Imaging Edge and Lightroom. This persists after applying the narrow partial-look fix in #732. It makes ordinary contrast/exposure editing difficult: a global boost can help one photograph and spoil another.

This is a consolidated problem report and coordination thread for the residual A7R IVA rendering differences, with evidence from 64 of my RAWs. It connects the existing reports without treating every “flat/washed out/soft RAW” symptom as the same bug or replacing work already in progress.

Main findings:

  1. Accepted camera looks can still differ materially from an official RAW rendering. The embedded camera JPEG is itself a different target from a fresh Sony Imaging Edge export. On the lion (R024), the embedded JPEG has 0.636× Sony DRO-off's mean chroma; LightCraft after LR-PROF-CAMERACOLOR: refine partial looks with measured colour #732 has 0.726×. Better JPEG matching alone cannot reproduce that Sony look.
  2. Sony DRO tone normalisation contributes to darkness in this set. Retaining the JPEG-derived tone improved 63/64 comparisons against Sony DRO Auto and 7/8 against Sony DRO Off, but barely repaired the lion's colour. This is diagnostic evidence, not a proposal to disable DRO removal globally.
  3. The differences are scene-dependent. The lion loses colour; some landscapes already have as much or more mean chroma than Lightroom but are darker. Displayed tonal separation is not the RAW sensor's captured dynamic range.
  4. Larger fitting proxies, render-size changes and import detail defaults did not provide a general colour fix. Regressions and negative results are included below.

No further rendering change has been shipped from these experiments. Diagnostic source changes were reverted. #732 remains separately reviewable.

Historical scope, versions and comparison controls

  • Camera: Sony A7R IVA / ILCE-7RM4A; 64 selected files from three folders, ISO 250–12800. 30 FE 24–105mm F4 G OSS; 34 FE 200–600mm F5.6–6.3 G OSS. Wildlife, landscape and private indoor/family scenes; correlated frames and a known failure are included. This is not a random sample or 64 independent scenes.
  • Baseline: LR-PROF-CAMERACOLOR: refine partial looks with measured colour #732 at 7781d0165ba85b1bfae331c0e06792c66f3eba05, based on upstream b70ae1741e8236757377ca85eecaafb8788a82ab. Apple M1/macOS, release Rust build, CPU rendering, original RAWs online, fresh memory sessions, no external camera profiles. All file-local looks are fitted afresh. These are not smart-preview-only renders.
  • As Shot WB, Color profile, reset develop settings, 1600px exports. 24–105 lens-profile correction enabled to match Sony geometry. The embedded-JPEG and Sony references are kept separate.
  • Sony Imaging Edge Edit 4.1.00.03062, Standard, sRGB 16-bit TIFF: 64 DRO Auto references, with additional DRO Off exports for eight. All sampled camera files report Standard/DRO Auto. Embedded JPEG metadata indicates sRGB.
  • Reset versus import is an important control: develop.get confirms RAW import has sharpening 40 / colour NR 25, whereas develop.reset sets both to 0 on these fresh sessions. The core tables use that reset baseline. A separate 64-file experiment explicitly restores 40/25. Its effect is small and mixed; it does not account for the residual colour mismatch.
  • Geometry is aligned with a constrained similarity transform only; no colour correction is used in registration. Measurements use the central 84% crop at 300×200 analysis resolution, preserving source precision before measurement. ΔE is CIE76, not ΔE2000. Chroma ratio is mean CIELAB C* (LC/reference), not an instruction to multiply Saturation. Low-chroma/noisy scenes make that ratio sensitive.
  • The pictures below are labelled sRGB comparison derivatives, resized for display. Numerical metrics use the original analysis files. No RAWs, family photos, GPS data, private paths or Adobe screenshots are attached.

Reproduction procedure

  1. Build the pinned LR-PROF-CAMERACOLOR: refine partial looks with measured colour #732 revision above and use an empty temporary LIGHTCRAFT_CAMERA_PROFILES directory; leave existing user profiles/catalogs alone.
  2. Import the original ARW into a fresh CLI memory session. Use the following JSON-lines script, with a new output path for each run:
{"command":"app.gpu","params":{"enabled":false}}
{"command":"develop.reset","params":{}}
{"command":"develop.get","params":{}}
{"command":"app.export","params":{"path":"/tmp/colour-baseline.png","longEdge":1600,"metadata":"none"}}

Run with LIGHTCRAFT_NO_PREFS=1 LIGHTCRAFT_PROFILE=1 lightcraft-cli run --import sample.ARW --script reset-export.jsonl (and the temporary profiles directory set). For 24–105 files, before export also apply develop.merge with {"settings":{"optics":{"lens_profile":true}}}. Record command results and fit diagnostics.
3. Export the same ARW from Sony Imaging Edge with Standard, As Shot and sRGB at 1600px, once with DRO Auto and once with DRO Off. Do not treat these two references as interchangeable.
4. Compare the outputs and embedded JPEG after geometry-only registration. Inspect hue/chroma and brightness independently, and record actual detail settings. Repeat across scenes; the eight illustrated samples are not sufficient to establish a universal camera profile.

Expected: a consistent, usable starting look with meaningful subject/foliage colour separation and preserved editing latitude. Exact Adobe Color identity is not assumed. Actual: the tables and images below show residual, scene-dependent colour and tonal differences despite accepted fits and the #732 fix.

Visual evidence: eight different RAWs

For the first four sheets: left = LightCraft #732 reset; middle = embedded camera JPEG; right = Sony Imaging Edge, DRO off. Each row uses the same source RAW. Click an image for its larger version.

1. Bright cheetah/foliage (R008) and the original standing lion (R024)

R008 cheetah and R024 lion: LightCraft PR732, embedded JPEG, Sony DRO off

The lion's residual colour issue is not explained by a large exposure mismatch. Against Sony Off, #732's mean ΔL* is approximately −0.29 while chroma is 0.726×. Before #732, that chroma ratio was 0.416×. The fallback fix helps substantially, but does not establish reference-look parity.

2. Backlit giraffe (R012) and antelope in warm grass (R013)

R012 backlit giraffe and R013 antelope: LightCraft PR732, embedded JPEG, Sony DRO off

These are useful counterexamples to applying one global fix: retaining the camera JPEG tone improves R013's Sony-Off ΔE76 from 3.61 to 2.71, but worsens R012 from 2.00 to 2.35.

3. More telephoto wildlife: lion through foliage (R033) and giraffe (R044)

R033 lion and R044 giraffe: LightCraft PR732, embedded JPEG, Sony DRO off

The residual difference also occurs outside the original R024 failure. Foliage and subject colour remain different even when the file-local fit is accepted.

4. 24–105 landscapes: giraffes/savanna (R055) and sky/clouds/grass (R063)

R055 savanna and R063 sky: LightCraft PR732, embedded JPEG, Sony DRO off

These prevent tuning the result only for a muted telephoto lion. Against the Lightroom screen observations, these scenes have roughly 1.04× and 1.07× mean chroma while being darker. “Add saturation everywhere” is not supported.

Quantitative results

Baseline after #732

Reference Files Median per-image ΔE76 Median ΔL* Median LC/reference chroma
Embedded camera JPEG 64 2.84 −1.26 0.971
Sony Imaging Edge, DRO Auto 64 4.25 −2.93 0.865
Sony Imaging Edge, DRO Off 8 3.52 −1.34 0.855

The eight-file subset also has median LC/embedded-JPEG chroma 0.969, so the reference-target distinction is visible within the controlled subset too. None of these reference renders is a colour-chart ground truth.

Eight controlled Sony-Off comparisons

ID / scene LC ΔE76 Retain JPEG tone ΔE76 LC/Sony chroma Embedded JPEG/Sony chroma
R008 4.51 4.38 0.799 0.908
R012 2.00 2.35 0.910 0.995
R013 3.61 2.71 0.914 0.942
R024 2.20 2.16 0.726 0.636
R033 4.46 4.25 0.721 0.856
R044 4.72 4.63 0.779 0.805
R055 3.43 3.43 0.960 0.921
R063 2.23 1.60 0.991 0.976

R008 cheetah; R012 backlit giraffe; R013 antelope; R024 standing lion; R033 lion through foliage; R044 giraffe; R055 savanna; R063 clouds/grass.

Diagnostic experiments, including regressions

Negative mean paired ΔE change means closer than the reset #732 baseline on exactly the same files.

Experiment Reference Improved/files Mean paired ΔE76 change ↓ Worst increase
192px fitting proxy sony_auto 20/64 +0.055 +0.902
192px fitting proxy sony_off 4/8 +0.118 +0.486
192px fitting proxy embedded 37/64 +0.018 +0.922
Retain camera JPEG tone sony_auto 63/64 -0.792 +0.013
Retain camera JPEG tone sony_off 7/8 -0.205 +0.350
Retain camera JPEG tone embedded 60/64 -0.539 +0.366
RAW import detail defaults sony_auto 33/64 +0.019 +0.251
RAW import detail defaults sony_off 2/8 +0.058 +0.206
RAW import detail defaults embedded 44/64 -0.009 +0.154
3200px render → 1600px analysis sony_auto 1/8 +0.162 +0.550
3200px render → 1600px analysis sony_off 1/8 +0.104 +0.363
3200px render → 1600px analysis embedded 4/8 +0.020 +0.239
  • 96→192 fitting proxy: rejected. It improved some files but worsened average error against all three reference sets. Bigger proxies are not a demonstrated general solution.
  • Retain camera JPEG tone: temporarily replaced the Sony DRO detection result with false in camera_preview.rs, leaving the 96px proxy and colour path intact. Against the eight Sony-Off references, median ΔL* improves −1.34→−0.32, but median chroma ratio remains approximately 0.855→0.854. Brightness and colour need separate treatment.
  • 3200px render: eight controlled samples, area-resized to reference dimensions for analysis. This does not implement or test LR-EXP-DIM: exports render at twice their size, at most full size, then downsize #593's precise 16-bit gamma-1.8/Catmull–Rom export path. It only tests whether raising render resolution by itself eliminates the broad colour discrepancy; it does not.
  • Import detail: reset then explicitly set sharpening 40 / colour NR 25 on all 64. Small mixed colour-metric changes. This is not a sufficient sharpness test at 100%, and does not disprove the separate sharpening bug in Sharpening: Radius and Detail have no effect, and Sharpening works at ~11 px (the texture band), not pixel scale #757.
  • Explicitly setting both detail values to zero was byte-identical to Reset, confirming the control.

DRO diagnostic shown directly

Left = current policy; middle = retaining fitted camera JPEG tone; right = Sony DRO Off. R013 improves in brightness; R024 still lacks the same colour rendering.

R013 and R024: normal DRO policy, diagnostic retained JPEG tone, Sony DRO off

The existing DRO rule was introduced for a reason: #244 / #568 and docs/camera-preview-colour.md document Sony frames opening too bright, especially on the ILCE-7CR comparison set. Removing it globally could reintroduce that problem. Our A7R IVA evidence instead motivates checking whether the pooled curve and its interaction with fitted colour/chroma generalise across bodies and scenes.

Lightroom observations — supporting evidence, not export ground truth

Five private, colour-managed screen observations were converted to sRGB and aligned. Adobe Color / As Shot was inspected; where existing edits were present, Show Original was used and the previous view restored. No Adobe profile data or application assets were extracted, and no Lightroom screenshots are published, following AGENTS.md.

ID Reset ΔE76 Retain JPEG tone ΔE76 Import-detail ΔE76 LC/LR chroma LC−LR ΔL*
R024 2.19 2.01 2.07 0.90 -0.58
R063 4.25 3.23 4.23 1.07 -3.49
R012 2.44 2.49 2.43 1.15 -0.35
R055 5.69 5.68 5.62 1.04 -4.29
R013 5.59 4.27 5.58 0.97 -4.13

Screen capture, fit-view resampling and display management limit precision: these are not controlled Lightroom exports and should not be used to fit a production profile. They support the visible distinction between hue/chroma and tone, not a claim of physical colour accuracy.

A correction to our initial hypothesis: the lion showed Custom 5300/+21, but its As Shot view also showed 5300/+21 and the captured photo pixels were identical. That Custom label did not explain the mismatch. It also does not prove the two applications use identical underlying colour transforms.

How this connects to existing work

Thread / PR Connection and boundary
#515, especially this report Main user-facing cluster: flat colour, difficult editing and apparent resolution loss. These symptoms need separate diagnosis.
#535 and my earlier 64-file investigation Sony decoding/colour triage and the starting point for this follow-up. This issue focuses on residual rendering after the narrow fallback fix.
#792 / #975 Merged: Reset now restores RAW import defaults. Changes the comparison setup, not proof that the residual colour/tone gap is fixed.
#938 / #854 Pending camera-look changes: monochrome JPEG tone and untagged embedded-preview colour-space handling. The maintainer requests #732 be rebased after these land.
#807 / #758 Additional overlapping starting-colour work: DNG preview-derived tone/chroma and Canon preview-less tone. Preserve their paths when rebasing; they are not A7R IVA colour fixes.
#732 Our open fix for an accepted identity-matrix partial look bypassing measured colour. Only R024 changed in the 64-file validation; the other 63 were byte-identical. Does not solve every accepted-look discrepancy.
#378 Hue/lighting-dependent desaturation on another Sony body. Related symptom family, not proof of the same cause.
#631 / #699 The ILCE-7RM4 low-contrast burst fails the tone-range gate; #699 targets that case. That is different from these accepted looks. #699 also explicitly leaves its bright-sky bird case unresolved.
#244 / #568 Why Sony DRO brightening was removed. Re-test those cases before changing the policy.
#526 Bundled ILCE-7CR, not ILCE-7RM4A, camera profile. Useful precedent for training/holdouts; not a profile for my body or a guarantee of Lightroom parity.
#697 / #711 Lossless M/S YCbCr black-level pedestal, reproduced on A7C II and already fixed on main before these tests. Do not generalise that diagnosis to these A7R IVA Bayer files.
#146 / #514 Default RAW tone-curve work. #514 explicitly preserves fitted ARW camera looks, so it should not be assumed to fix this path.
#613 / #598 / #523 Tone-chain, colour-control and slider-parity work. Important for editing behaviour, but not evidence that these default Sony looks are corrected.
#741 / #757 Soft RAWs and sharpening Radius/Detail not affecting output. #757's author says they are working on it; avoid a competing implementation.
#593 Export downsampling/detail, with previews unchanged. Keep this separate from camera colour.
#709 Smart-preview-only colour/detail differences; our originals were online, so that is not the tested path here.
#730 / #752 Absolute Kelvin WB work for calibrated cameras. Separate from the identical As Shot/Custom lion observation above.
#577 Existing request for a neutral starting-look option. Coordinate any new camera-look/DRO preference with that discussion.
#498 / #695 A7R IVA embedded optical corrections and follow-up validation. Relevant to reference geometry, not a colour-profile fix.

The links above are a map of dependencies and adjacent work, not a request to close them all with one patch. Status reflects the discussions checked on 10 October 2026.

Proposed follow-up and acceptance criteria

  • Agree the target look and separate it from decoder correctness. Camera-JPEG matching, Sony Standard rendering and Adobe Color are different targets. Keep a useful RAW editing latitude and avoid concealing decoder bugs with a look.
  • Test a better A7R IVA colour model against independent reference data. Use paired Sony exports over varied lighting/hues, split by scene/shoot rather than adjacent frame, and retain validation photos never used for fitting. Fit colour separately from tone. A look fitted to photographs is not a measured spectral calibration. Eight DRO-Off examples are insufficient for a general shipped profile.
  • Audit model-dependent DRO normalisation. Compare multiple bodies and genuine DRO-Off captures/exports; inspect midtones, bright unclipped areas, neutral colours and hue separation. Do not replace the global rule merely because one selected dataset's mean improves.
  • Protect working cases. Include low-chroma subjects, bright sky/backlight, green foliage, skin, mixed light, clipped highlights and successful existing full fits. Report worst regressions as well as averages; no single-photo tuning or blanket saturation multiplier.
  • Coordinate detail work with Sharpening: Radius and Detail have no effect, and Sharpening works at ~11 px (the texture band), not pixel scale #757 and export sizing with LR-EXP-DIM: exports render at twice their size, at most full size, then downsize #593. Validate at 100% and matched output sizes independently of colour metrics.
  • Reset/import detail semantics fixed separately by LR-EDIT-RESET: Reset Edits returns a raw to its import defaults, sharpening and colour NR included #792 / Integration batch 26: 31 reviewed contributor PRs #975. Reset now restores the RAW import defaults (including sharpening, colour NR and built-in optics). The historical 40/25→0/0 observation below applies to the pinned old build; the residual colour/tone investigation remains open.
  • Before shipping: exercise CPU/GPU and preview/export consistency, public cross-camera regression coverage, appropriate look/cache or process versioning, and the required cargo xtask ci gates. Preserve existing edits according to the project's versioning rules.

I would welcome maintainer guidance on the colour-model and DRO-target choices, and can continue the controlled comparison work without duplicating the active PRs above.

Appendix: all 64 anonymous baseline measurements against Sony DRO Auto

These include the intentional difference in DRO policy. IDs identify local samples, not independent scenes. Private names and images are omitted.

ID Lens ΔE76 vs Sony Auto LC/Sony chroma LC−Sony ΔL*
R000 24–105 4.930 0.872 -3.187
R001 24–105 5.112 0.838 -3.308
R002 24–105 5.277 0.852 -3.587
R003 24–105 6.407 0.880 -4.218
R004 24–105 4.161 0.856 -2.167
R005 24–105 4.338 0.858 -2.681
R006 200–600 5.428 0.740 -3.147
R007 200–600 4.251 0.909 -2.997
R008 200–600 5.144 0.797 -2.852
R009 200–600 3.010 0.821 -2.534
R010 200–600 4.289 0.889 -2.788
R011 200–600 3.213 0.903 -2.595
R012 200–600 2.718 0.864 -1.130
R013 200–600 4.390 0.919 -3.203
R014 200–600 3.958 0.873 -2.935
R015 200–600 4.521 0.771 -3.121
R016 200–600 4.224 0.755 -3.033
R017 200–600 3.991 0.624 -3.096
R018 24–105 3.752 0.999 -2.832
R019 24–105 5.053 0.985 -3.609
R020 24–105 4.185 0.849 -1.752
R021 24–105 2.928 1.014 -2.455
R022 24–105 3.941 0.872 -2.713
R023 24–105 3.723 0.865 -1.882
R024 200–600 4.411 0.720 -3.679
R025 24–105 5.783 0.838 -3.737
R026 24–105 5.867 0.857 -3.895
R027 24–105 4.706 0.863 -2.938
R028 24–105 7.050 0.828 -3.947
R029 24–105 5.324 0.817 -3.781
R030 24–105 4.192 0.853 -2.096
R031 24–105 4.229 0.854 -2.288
R032 24–105 3.930 0.865 -2.278
R033 200–600 5.314 0.726 -2.931
R034 200–600 5.356 0.766 -3.372
R035 200–600 3.038 0.939 -2.406
R036 200–600 3.838 0.900 -2.471
R037 200–600 3.524 1.032 -2.855
R038 200–600 2.656 0.951 -1.770
R039 200–600 4.434 0.934 -2.900
R040 200–600 4.227 0.896 -2.846
R041 200–600 3.850 0.898 -3.218
R042 200–600 3.707 0.854 -2.804
R043 200–600 3.429 0.926 -2.699
R044 200–600 5.795 0.782 -3.553
R045 200–600 4.150 0.755 -3.027
R046 200–600 4.152 0.924 -3.275
R047 200–600 4.004 0.871 -2.930
R048 200–600 5.029 0.879 -3.100
R049 200–600 4.165 0.773 -2.997
R050 200–600 4.453 0.674 -3.186
R051 200–600 4.600 0.649 -3.255
R052 200–600 4.247 0.666 -3.162
R053 200–600 4.861 0.575 -3.207
R054 24–105 4.327 0.893 -2.527
R055 24–105 4.623 0.971 -3.230
R056 24–105 4.556 0.887 -2.573
R057 24–105 4.498 0.869 -1.870
R058 24–105 3.172 1.018 -2.543
R059 24–105 3.079 1.010 -2.475
R060 24–105 3.604 0.881 -2.179
R061 24–105 4.710 1.015 -3.463
R062 24–105 4.464 0.851 -2.887
R063 24–105 2.761 1.002 -2.135

Investigated and written with Codex. Uploaded images are comparison derivatives of my own wildlife/landscape photographs; family images and original RAW files remain private. No new product code is proposed by this report.

Activity

  1. radialmonster commented on Oct 10, 2026

    @radialmonster
    Contributor

    @QuirkyTurtle94 thanks for the reset-vs-import note in your controls. That was a bug: Reset Edits rebuilt a raw from the generic defaults, dropping capture sharpening 40, colour NR 25 and embedded lens corrections. #792 makes Reset return a raw to the same defaults as import. It doesn't change your colour findings, but it means develop.reset no longer differs from a fresh import.

  2. bflatastic commented on Oct 11, 2026

    @bflatastic
    Member

    Partial progress from #975: #792 makes Reset Edits restore a raw's import defaults (the Sharpening 40 / Color NR 25 mismatch you noted). The colour and tone differences in your report are still open. #938 and #854 (camera-look improvements) are in the next batch, and your #732 needs a rebase on top of them (see its thread).


    Generated by Claude Code

  3. QuirkyTurtle94 commented on Oct 11, 2026

    @QuirkyTurtle94
    ContributorAuthor

    Thanks — I have updated the issue body to mark the Reset/default-detail item as fixed by #792 in #975, and made it explicit that the 64-file tables and images are historical results on 7781d016, not fresh results on current main. The colour and tone items remain open.

    I also verified the reset change in main's source: it now uses Photo::camera_defaults(), including the built-in optics defaults. Subsequent comparisons therefore need to pin optics as well as sharpening/colour NR when reproducing the older neutral baseline.

    For #732, I checked the requested integration dependencies: #938 and #854 are still open at this check, and main 0dd6593d is currently look version 2 / render-cache version 50. The rebase needs the final integrated main, rather than guessed cache versions or a provisional combination of other people's branches. The overlapping monochrome, embedded-preview colour-space, DNG and Canon paths are identified for the rebase; no new performance or colour-validation claims are being made yet.

    Updated with Codex.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions