Skip to content

Incompatible with Uncompressed NEF Files from D850 #2173

Closed

Description

@bsheffer1

Lightcraft gives the following error when I try to open NEF files taken with a D850:
LightCraft can't decode this raw variant yet (Nikon compressed NEF without a linearization table). You're editing the camera's embedded JPEG preview, which already includes the camera's picture style (e.g. Monochrome) and white balance.

I confirmed with exiftool that the files are uncompressed:
Compression : Nikon NEF Compressed
NEF Compression : Uncompressed (reduced to 12 bit)

Would be cool to use lightcraft, but it's too inconvenient until this is addressed.

Activity

  1. ticket-craft commented on Oct 17, 2026

    @ticket-craft

    Possibly related: #769 and #1274.

  2. radialmonster commented on Oct 22, 2026

    @radialmonster
    Contributor

    Fixed on main by #671 (merged today, so it is not in a release yet; it will be in the next one). These are the NEFs stored as "Uncompressed (reduced to 12 bit)" (Nikon compression tag 34713 without a linearization table, data packed as 12 bits).

    Checked with a D850 file of exactly that kind (raw.pixls.us "D850 - 12bit compressed ((6))"): main decodes it to the full 8256x5504 raw and the render sits within 3.6 mean Lab difference of the camera's embedded JPEG, instead of falling back to the preview. The other seven D850 modes (lossless, lossy, 14-bit uncompressed) also render.

    If you still see the preview-only message with a build from main, please attach one of your NEFs (a Google Drive link is fine) and we will look at it.

    If this solves it, please close the issue, thanks! If not, feel free to reply with more.

  3. radialmonster commented on Oct 22, 2026

    @radialmonster
    Contributor

    The fix (#671) is now released in LightCraft 0.12.0, so D850 NEFs stored as "Uncompressed (reduced to 12 bit)" decode from the raw data instead of falling back to the embedded preview.

    If this solves it, please close the issue, thanks! If not, feel free to reply with more.

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