Skip to content

Support for CRW file format #2442

Closed
Closed

Description

@kinemaj

CRW files - an old Canon RAW format is not supported by Lightcraft but it is supported by Lightroom Classic and Darktable. It would be awesome to have this file type supported as well.

Activity

  1. ticket-craft commented on Oct 21, 2026

    @ticket-craft

    Possibly related: #392 and #233.

  2. radialmonster commented on Oct 22, 2026

    @radialmonster
    Contributor

    CRW decoding is being done in storytold/craft-libs#365, a shared craft-libs crate ported from #3021. Our draft #2512 is closed in favour of it. Its first version decoded 16 bodies, but its tables were derived partly from non-CC0 files, and it was only ever checked against each file's embedded JPEG, so it could not be shown exact.

    For LightCraft to decode CRW, storytold/craft-libs#365 has to merge and then a follow-up LightCraft PR has to switch crates/raw over to it; that PR isn't open yet. Until then, CRW files open as the embedded preview only.

    More CRW samples from any body, shared as a Google Drive (or similar) link here, would help with testing.

  3. radialmonster commented on Oct 22, 2026

    @radialmonster
    Contributor

    @kinemaj could you share a few of your CRW files? Several shots in different light would help, ideally from more than one camera if you have them.

    The fastest way is a Google Drive link posted here. Please also upload them to raw.pixls.us if you can. That's the public, CC0 sample archive, and files there help every raw developer, not just LightCraft. Every model is welcome, including ones already listed there.

    We only use the files for testing LightCraft's CRW support.

  4. kinemaj commented on Oct 24, 2026

    @kinemaj
    Author

    Here is a shared dropbox folder: https://www.dropbox.com/scl/fo/dm7bz5itkt2pmg6dhlj94/AHS7_Up_6a8qnyw_8Ft4Z0g?rlkey=j0kcbemvrs0zdjnma4ssoiu1n&st=poeweuc9&dl=0

    In my case it's EOS DIGITAL REBEL so maybe the #2512 PR will solve this. For now, it's still in "preview" mode.

  5. radialmonster commented on Oct 29, 2026

    @radialmonster
    Contributor

    @kinemaj thanks for the Dropbox folder, and sorry this went unanswered. #2512 is now closed. CRW decoding is being done in storytold/craft-libs#365 instead, which covers the Digital Rebel. I have pointed storytold/craft-libs#365 to your 8 files for testing, since they cover both Huffman table ids the Rebel uses.

    For LightCraft to use it, storytold/craft-libs#365 has to merge and then a follow-up LightCraft PR (not open yet) has to switch over to it. When that happens is up to the maintainers; we have no say in that. A 👍 on storytold/craft-libs#365 shows there is interest. Until then, CRW files still open as the embedded preview only.

  6. radialmonster commented on Nov 7, 2026

    @radialmonster
    Contributor

    Fixed as of v0.19.0 by #3503. CRW files are now decoded from the sensor data instead of showing only the embedded preview. That covers the EOS D30, D60, 10D, 300D / Digital Rebel and the PowerShot G series; only the PowerShot G5 still opens as its preview. Could you open your Digital Rebel files again on v0.19.0?

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

  7. FredApps commented on Nov 9, 2026

    @FredApps
    Contributor

    Merged #3503 adds native CRW sensor decoding, including the EOS 300D / Digital Rebel identified by the reporter, and the follow-up says it is in v0.19.0. The reported PowerShot G5 preview-only exception remains open in #4011.

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