View Single Post
Old 30th September 2018, 09:50   #62  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
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.
__________________
My github.

Last edited by jpsdr; 30th September 2018 at 09:52.
jpsdr is offline   Reply With Quote