I can't seem to get the libraw_data_t->params.use_camera_wb flag to work. I suspect I'm doing something wrong.
I have a Sony .ARW file which unpacks with the wrong colors if use_camera_wb isn't set to 1. It unpacks correctly under dcraw with use_camera_wb set to 1.
Setting this item to 1 in libraw causes it to unpack with the wrong colors.
Here's a simplified version of what I'm doing - I'm using the libraw C interface.
//and then we read the pixels out of lpi->data and put them in a Windows device-independent bitmap
Any suggestions what's wrong? Most raw files unpack correctly.
Thanks, and thanks for an excellent library.