I am now writing a GUI program using LibRaw with C++, Visual Studio. I would like to display the RAW images (14-bit or 16-bit) instantly in the GUI window, say, a PictureBox. However I cannot find a function that can help me to draw and display the image. I can get the R,G1,G2,B data from imgdata array though. Is there any functions from libraw or functions of Windows built-in that can help me to draw RAW images?
On the other hand, how can I get the information of Histogram and Level of the image by using Libraw??