How to contribute to libraw?

As the forum there seems to be semi-alive and I can’t find a way on how to contribute, I am asking here. I used the Adobe DNG converter and a raw file from https://www.dpreview.com/samples/4066714833/canon-eos-r5-ii-pre-production-sample-gallery to extract the R5mk2 color matrix in preparation of my camera and adding support for darktable.

I am looking at this PR to get an idea what needs to be contributed for new camera support: Add support for Canon EOS R50 by robekl · Pull Request #634 · LibRaw/LibRaw · GitHub The cameraID I cant figure out how to retrieve. Where do I get the unsigned long variable name in whatever format from the exif tags or some string conversion tool? Can’t be that hard but I can’t seem to figure it out by myself. Most likely some “Canon EOS R5 Mark II” / “Canon EOS R5m2” string conversion. Are external contributions even encouraged?

2 Likes

You can’t really contribute camera support to LibRaw, they will do it on their own schedule: About LibRaw | LibRaw

1 Like

I don’t really understand. What does the release schedule have to do with accepting PRs?

So their github is just a read only show? Explains a bit why there is no info on how to contribute.

But let’s just assume I want to change the submodule to support the raw files early, I still need to get the cameraID correct

Exiftool is your friend.

1 Like

thanks, I looked over the tags several times but must have missed the Canon Model ID one.

I remember rawspeed needing the white and black values according to ISO values. Are those read from exif tags for cr3 based cameras in darktable?

Well, as with any public Github repo, there’s an Issues tab and if you have a Github account you can open an issue.

2 Likes

thanks, I know. When starting with contributing to darktable and lensfun the experience was, mildly put, not so nice so this time I’d rather ask and or be prepared…

You might go to libraw.org and post a query on their forum…

I did, it’s stuck in the review queue that’s why I came here as @kmilos and other people have libraw experience

So I changed all files in libraw submodule and in imageio_libraw in darktable yet it does still not want to read the image data and tel sme it’s unsupported. I’ll continue tomorrow.