Phase One IIQ decoding

Hello

I'm trying to use LibRaw to decode Phase One IIQ images from two cameras: iXM-100 (not officially supported) and IQ280 (supported). I save results to .tif files and thumbnails to .pnm. I used all default settings.
Code I used:

https://drive.google.com/file/d/1PnbVb2J8jXkoGiOWqEa_n8A5X4-5zGTJ/view?u...

I also tried to use Open Image IO tool (which as I understand uses LibRaw as backend).

Now for all case I get different visual results I put comparison of results here:
https://drive.google.com/file/d/17d24hisS9GkaQ9NG2AFiPbPjgXb5xXR8/view?u...

I see that image created by my code has different colors from one created from iX Capture but
thumbnail extracted with LibRaw look almost the same. Image from oiiotool looks to have the same colors as iX Capture but is much darker.

So my goals are:
1. Understand the source of differences. Could You give me some hints or resources that I could read. I am new to this subject.
2. Try to get output from LibRaw that is visually closer to iX Catputre.

Any feedback highly appreciated :)

IQ280 example files can be downloaded from:

https://cdn.static-bl.com/static/IQ_RAWS.zip

Best Regards
TS

Forums: 

According to your code, you

According to your code, you use 'all defaults' for libraw processing (dcraw_process), so daylight white balance and automatic 1%-ETTR brightness correction.

-- Alex Tutubalin @LibRaw LLC