[argyllcms] Re: Dispcal fails

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sun, 17 Jun 2007 01:13:42 +1000

Roger Breton wrote:

Graeme,

V0.70 doc seems incomplete as per the instrument flag?


usage: dispread [options] outfile
-v              Verbose mode
-d n           Choose the display from the following list (default 1)
   1 = 'CG21, at 0, 0, width 1600, height 1200 (Primary Display)'
-c listno      Set communication port from the following list (default  1)
   1 = 'usb:/bus24/dev0 (Xrite DTP94)'
                  92 = DTP92, 94 = DTP94, SO = Spectrolino
-y c|l          Display type, c = CRT, l = LCD
-k file.cal    Apply display calibration file while reading
-s               Save spectral information (default don't save)
-p ho,vo,ss  Position test window and scale it
                  ho,vi: 0.0 = left/top, 0.5 = center, 1.0 = right/bottom
                   ss: 0.5 = half, 1.0 = normal, 2.0 = double etc.
-K                Run instrument calibration first
-N                Disable auto calibration of instrument
-H                Use high resolution spectrum mode (if available)
-D [level]      Print debug diagnostics to stderr
outfile           Base name for input[ti1]/output[ti3] file

What about the instrument flag? It used to be -i but, now?

One of the changes in V0.70 is that it now automatically
recognizes the instrument, so there is no need for a -i flag.

My command line keeps "crashing".
dispread -v 94 -yl -keizo_x94 eizo_x94


But I get:

Error - CGATS file read error : Unable to open file '94.ti1' for reading

Right, the first non-option argument it finds is '94;', so it assumes
that it's come to the input/output file root name, and looks for '94.ti1" and
fails to find it.

What's the '94' meant to be ?

A more normal command line would be:

        dispread -v -yl -keizo_x94.cal eizo_x94

(note that the calibration file extension has to be supplied. Most of the
 time you need to supply the extension, the main exceptions being
 for when the filename root is used for both input and output, as for
 the .ti1, ti2, ti3 sequence.)

Graeme Gill.

Other related posts: