Results 349 comments of Maik Riechert

Can you post your complete code and upload an example image?

It's unusual to have RAW images in TIFF format. The issue is that there's not enough metadata in the file I think. The underlying library libraw then doesn't know which...

libraw seems to have ways to read from image data without metadata as well, e.g. https://www.libraw.org/docs/API-CXX.html#open_bayer. Maybe that would suit your use case. This is not currently implemented in rawpy...

I gave it a try and got it to work. I'll give you something to test soon.

This is not officially released yet as I'd like you to try it out first. You can manually download Python wheels with this feature from the workflow artifacts (bottom right)...

The error is coming directly from libraw, looks like a bug. Can you report it over there?

Since rawpy is built on libraw, a first step would be to ask in https://www.libraw.org/forum/15 whether libraw supports it, and if not, if support for it can be added.

I'm afraid I won't have time to look into this myself. The dependency on the Adobe DNG SDK might be a problem.

Related: https://github.com/letmaik/rawpy/issues/207