Darktable: Add support for Canon CR3 raw files

Created on 8 Mar 2019  路  21Comments  路  Source: darktable-org/darktable

Canon CR3 raw files are currently not supported. These are used by a few of Canon's new cameras at this point. At a minimum, the M50, SX70 HS, EOS R, and EOS RP. https://raw.pixls.us/ has samples for the M50, EOS R, and EOS RP.

Someone appears to have already done a lot of the reverse engineering here:
https://github.com/lclevy/canon_cr3

Let me know if there is anything that can be done to help, including testing, more samples, or development assistance.

no-issue-activity

Most helpful comment

cr3-support is now available in LibRaws master-branch.

All 21 comments

I just wanted to add that I have also uploaded sampler RAW and C-RAW from an EOS R - and I would do anything else in my power to help support the efforts to reverse-engineer the CR3 format and get it into Darktable.

C-RAW (*.CR3) use Canon 250D so i need support too.
+now use Canon 90D & M6 mark ii (native use CRAW)

On the ongoing effort to reverse-engineer the proprietary CR3 format: https://github.com/lclevy/canon_cr3

cr3-support is now available in LibRaws master-branch.

That is fantastic news!! Well done to all that helped!

This issue did not get any activity in the past 30 days and will be closed in 7 days if no update occurs. Please check if the master branch has fixed it since then.

Nope, still not solved in master.

I have a Canon EOS Rebel SL3 (also known as EOS 250D and EOS Kiss X10) and I still can麓t get my files read by DarkTable, I had to use the Adobe DNG Converter to make the files usable with the app but still no direct support, highly interested in this compatibility, if you need any sample shots or something I would love to help.

For those needing a workaround, you can use Adobe's DNG converter https://helpx.adobe.com/photoshop/using/adobe-dng-converter.html

Obviously native support would be very much appreciated!

Yup, also using DNG converter, but, particularly with C-RAW files, having to decompress them just for post-processing really bloats the disk.

There is no Linux version of DNG Converter :-1: I have to take RAW+JPEG and stick with JPEGs for now, hoping that one day I will be able to process the RAWs in Darktable (being my favourite tool). At least RawTherapee added limited support recently. It's a shame Adobe ignores Linux, it's a shame they don't opensource the CR3 specification and I seriously blame them for not warning their customers :(

FWIW there is a reverse-engineering spec here https://github.com/lclevy/canon_cr3 as well as the mentioned earlier support in other libraries like LibRAW, but, my understanding is that devs are mainly concerned about legality of using a reverse-engineered spec?

I wonder how LibRAW deals with this issue? (if it does)

We know :) Pretty much CR3 is possible, just needs exiv2 support and it's stalled on exiv2 supporting it.

Almost one year already. The speed of Open Sauce development is incredible.

@1div0:

Almost one year already. The speed of Open Sauce development is incredible.

Has Canon released non-NDA specs for CR3? Has Canon cleared open source of any possible patent infrigment? Had nobody objected to CR3 support being done in exiv2? Have you contacted Canon and asked them to provide (or at least open line of communication) specs?

Anyway, slowdown on exiv2 side is mostly caused by exiv2 community-member(s) objecting to including possibly patent infringing code (it wouldn't be, I asked law advisor) and thus halting development and discouraging it. I thought I could work on it, but life & paying bills got in the way so I hope Mr. Mills or somebody else will be able to implement relevant stuff on exiv2 side. On darktable's side support is possible as it currently resides on experimental branch (no, that can't be enabled without exiv2 working)

I wonder if, as a workaround, Darktable could provide LibRAW support in form of a plugin? I know it used to use LibRAW in the past, and then switched to custom decoder for performance reasons (I think?), but could LibRAW at least be used as a fallback for unsupported formats so that it would solve cases like this until a better version is available?

I'm also interested in the support of CR3 in darktable. Can anyone give us a status? How can we help?

There is no Linux version of DNG Converter 馃憥 I have to take RAW+JPEG and stick with JPEGs for now, hoping that one day I will be able to process the RAWs in Darktable (being my favourite tool). At least RawTherapee added limited support recently. It's a shame Adobe ignores Linux, it's a shame they don't opensource the CR3 specification and I seriously blame them for not warning their customers :(

@isolin the Adobe converter works flawless using Wine. Not the best solution, but works for me in the meantime.

Note that solution from @daniel-lucio is also converting to DNG, like couple others in the thread. It's not a support in Darktable.

Note that solution from @daniel-lucio is also converting to DNG, like couple others in the thread. It's not a support in Darktable.

I know, that's why I said for the impatient.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Egocentrix picture Egocentrix  路  5Comments

lapineige picture lapineige  路  4Comments

ChristopherRogers1991 picture ChristopherRogers1991  路  6Comments

trougnouf picture trougnouf  路  5Comments

schwerdf picture schwerdf  路  4Comments