Add new comment

libraw to lipjpeg

I have a really simple question, but no matter how much I looked, I couldn't find it anywhere.

How can I connect libraw and libjpeg-turbo? Specifically, how do I get RGB data after:

ret = RawProcessor.dcraw_process();

so that I can pass it as

JSAMPLE* image_buffer; /* Points to large array of R,G,B-order data */

which will be fed to libjpeg.

Thank you very much!

Forums: