[argyllcms] Strugglin' with scanin

  • From: Hening Bettermann <hein.be@xxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Wed, 3 Feb 2010 18:55:39 +0100

Strugglin' with scanin

Hi!

So I bought this ColorCheckerSG chart without reference values. Andrew Rodney 
and Graeme kindly supplied these. After some struggle with the reluctant Unix 
surface, and further help from both Graeme and Brian Griffith, author of Raw 
Developer, I was finally able to create the .ti3 files using logo2cgats and 
spec2cie.

But scanin does not like them. 

./scanin -v9 -dipn -p -a -G1.0 5D2_938.tif ColorCheckerSG.cht 
ColorCheckerSG_Graeme.cie
-->
TIFFReadDirectory: Warning, 5D2_938.tif: wrong data type 1 for "XMLPacket"; tag 
ignored.
TIFFReadDirectory: Warning, 5D2_938.tif: unknown field with tag 34665 (0x8769) 
encountered.
[...]
./scanin: Error - CGATS file 'ColorCheckerSG_Graeme.cie' read error : Unable to 
open file       'ColorCheckerSG_Graeme.cie' for reading

The only file it swallowed was a ready-made .cie file I got from Brian, 

./scanin -v9 -dipn -p -a -G1.0 5D2_938.tif ColorCheckerSG.cht 
ColorCheckerSG_scaled_1931.cie
--> 
TIFFReadDirectory: Warning, 5D2_938.tif: wrong data type 1 for "XMLPacket"; tag 
ignored.
TIFFReadDirectory: Warning, 5D2_938.tif: unknown field with tag 34665 (0x8769) 
encountered.

...but the .ti3 file was created - for a while, that is. Because now scanin has 
gotten new ideas:

./scanin110 -v9 -dipn -p -a 5D2_938_curv_exp0,5_rot_crop.tif 
ColorCheckerSG_Brian.cht ColorCheckerSG_scaled_1931.cie
-->
TIFFReadDirectory: Warning, 5D2_938_curv_exp0,5_rot_crop.tif: unknown field 
with tag 34665 (0x8769) encountered.
./scanin110: Error - 4 chanel input '5D2_938_curv_exp0,5_rot_crop.tif' must be 
a CMYK tiff file

All along, it has been very picky with the image files, for no apparent reason. 
An image  that was only rotated by eye-sight (to be horizontal) was accepted, 
while others that were carefully rotated in Photoshop using the marker crosses 
of the chart, were rejected ("pattern match wasn't good enough").

I have been able to create profiles with colprof, but I need to raise exposure 
of the test chart image by 0,5 f-stop, and I'm stuck because scanin strikes.

Any idea of what is wrong? - Hening.

Other related posts: