Add new comment

Sorry, my bad. To make the

Sorry, my bad. To make the files easily available, I just published the code and the image file inside a GitHub repository: https://github.com/pedropark99/libraw-example

Now, to answer your 2nd point, I understand that libraw_unpack should be enough. However, for some reason that I also don't understand, when I try to access the libraw->rawdata.raw_image array, or literally any of the arrays that are present inside the libraw->rawdata structure, I get a "Cannot access memory at address" error message. So apparently, they are all "not-valid pointers", even though they are not-null pointers. You can see this by looking at the screenshot that I took from a GDB session: https://github.com/pedropark99/libraw-example/blob/main/screenshot.png

Thank you anyway for your attention!