Skip to content

Panasonic RW2: absolute colour temperature and in-camera LUT metadata ignored; default look follows the embedded JPEG #2107

Open

Description

@ouzihao7-collab

Camera: Panasonic DC-S5M2 (RW2)
LightCraft: 0.8.0 (Windows)
Related: #577

Summary

For my Panasonic RW2 files the default rendering follows the camera's embedded JPEG — including an in-camera Real Time LUT — while the RAW's own colour metadata (absolute colour temperature, PhotoStyle, the LUT name) is not read. The white balance panel shows no absolute Kelvin value.

I understand from docs/raw-parity.md that for raws without a measured colour matrix LightCraft fits the starting look to the camera's embedded JPEG. That is what I see, and #577 asks for a way to opt out. This report adds a Panasonic-specific angle: the RAW carries colour metadata that a raw developer can read directly, and LightCraft currently ignores it.

What the RAW contains

exiftool P1455577.RW2 (Panasonic DC-S5M2):

ColorTempKelvin                 : 4200
WhiteBalance                    : Auto
WBShiftAB                       : 0
WBShiftGM                       : 0
RedBalance                      : 1.941406
BlueBalance                     : 1.984375
PhotoStyle                      : Unknown (21)
LUT1Name                        : xjd to fujicn.vlt
LUT1Opacity                     : 100
LUT2Name                        :
LUT2Opacity                     : 0
WBType1..7                      : Fine Weather / Cloudy / Shade / Tungsten / Flash / D55 / ISO Studio Tungsten
WB_RGBLevels1..7                : 531 256 429 / 564 256 405 / 596 256 387 / 359 256 645 / 586 256 372 / 522 256 420 / 375 256 627

So the file records an absolute colour temperature of 4200 K, the seven standard WB presets with their RGB gains, the PhotoStyle (21, a custom/LUT style), and the name of the Real Time LUT that was active in-camera (xjd to fujicn.vlt, opacity 100).

The LUT data is not in the file (only the name — I searched the whole file, there is no .cube/.vlt payload), so no developer can apply it automatically. But the name and the Kelvin value are there to be read.

What LightCraft does

Why this matters

  1. White balance: the file states 4200 K. A raw developer that reads Panasonic maker notes can show it directly instead of a relative scale. Lightroom and DxO do.
  2. Neutral starting point: because the look is fitted to the JPEG, and the JPEG has a creative LUT applied, the raw effectively starts with that LUT's colour. That is the case Option to start raws from a neutral look instead of the fitted camera look #577 describes, and it is why the file "looks like the JPEG" on import.
  3. Metadata: at minimum, the LUT name and PhotoStyle could be shown, so the user knows what was applied in-camera.

Request

I can provide the RW2, or a CC0 sample on raw.pixls.us, for testing if useful.

Activity

  1. ticket-craft commented on Oct 17, 2026

    @ticket-craft

    Thanks! This ticket describes several separate problems:

    • Show absolute Kelvin white balance for Panasonic RW2 files
    • Surface PhotoStyle and in-camera LUT name and opacity
    • Offer a neutral starting look that does not depend on the embedded JPEG

    It helps a lot if each one has its own ticket, so they can be tracked and fixed separately.

    Possibly related: #577, #730 and #1310.

  2. radialmonster commented on Oct 30, 2026

    @radialmonster
    Contributor

    Two open PRs touch the S5 II's colour and white balance. Neither is merged yet:

    With no camera profile for this body, the starting look comes from a fit to the camera JPEG inside each RW2, so results can vary from shot to shot.

    To check this body properly, could you share a few RW2 files together with the camera JPEG of the same shots (RAW+JPEG), taken in different light? A Google Drive share link on this issue works best.

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