In the readme :
Code:
pColor -
Color mode used in YUV/RGBtoXYZ.
0 : BT2100
1 : BT2020
2 : BT709
3 : BT601_525
4 : BT601_625
Default: 2 if Color=0, 0 otherwise.
So, as you've used :
Code:
ConvertYUVtoXYZ(Color=0, OutputMode=1, HDRMode=0, fullrange=false)
You have to use :
Code:
ConvertXYZtoYUV(pColor=0)
Otherwise, thanks for your tests and report.