libraw_internal_data access

Hi, I'm new user of LibRaw.

I'm wondering can I get access to libraw_internal_data.

For example, in src / postprocessing / postprocessing_utils.cpp, there is a 'convert_to_rgb_loop' function.

And in that function, I can print 'imgdata.idata.colors' but I want to know generated 'libraw_internal_data.output_data.histogram'.

So please let me know whether internal_data is public information or not.

Thank you.


Using any internal (non

Using any internal (non-documented) fields in a class may lead to a rewrite of your application when the next version of the library is released. We treat public/documented fields much more carefully (although there is no complete guarantee that they will never change).

However, internal fields are declared as protected:, not private: (specifically for the case you described), so you can implement your own derived class that will provide the necessary access from the outside

-- Alex Tutubalin @LibRaw LLC