[argyllcms] Error in cht_format documentation

  • From: Lucy <lucy.kueny@xxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sun, 29 Aug 2021 00:52:18 +0000

Hello everybody,

Just subscribed, I have an issue to report:

I'm create the CHT for the CMP Color  Digital Target (2019). I noticed what I think is an error in the documentation :

The example given at http://www.argyllcms.com/doc/cht_format.html shows these values:

Setting patches as A01 to L22 :

  Y 01 22 A L 25.625 25.625 26.625 26.625 25.625 25.625

Giving scanin the expected color values :

EXPECTED XYZ 264
  A1    3.85 3.22 1.9
  A2    4.89 3.27 1.6
...

The example fails with "scanin: Error - Scanin failed with code 0x10000005, read_relist failed at line 70 in file test.cht: Failed to locate matching sample box in EXPECTED list"

After debugging, it seems that, that expected values need to be written as A01 and not A1, as scanrd.c does a simple a simple increment procedure followed with a strcmp.
Changing all patch names to have the same number of digits (A1->A01) fixes the issue.


Am I missing something ?


Best regards,
Lucy Kueny

Other related posts: