Skip to content

Advice on processing steps with rawpy #166

Answered by letmaik
mbrown-gh asked this question in Q&A
Discussion options

You must be logged in to vote

Calling rawpy.imread() and accessing .raw_image leads only to calling libraw's open_file() and unpack(), see also https://www.libraw.org/docs/API-CXX.html#unpack.
Note that the docs mention "Data reading is sometimes (not frequently) affected by settings made in imgdata.params". See https://www.libraw.org/docs/API-notes.html#imgdata_params for details. rawpy does not allow to modify those settings prior to loading, which is an intentional restriction to keep the Python API simple since this is very rarely of use. I think in your case this shouldn't make a difference.
For further questions on how the raw file data relates to the data exposed by open_file()/unpack() you'd have to ask in the…

Replies: 0 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mbrown-gh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants