Batch conversion of images

The example: TIFF to CALS

First open a command prompt.

Then cd (change directory) to the directory containing your TIFF file(s).

The simplest command line for converting for example a TIFF file to a CALS file is:

ecconv -export cal INFILE OUTFILE

If a certain page number should be converted, use the following example:

ecconv -export cal -pageno INFILE OUTFILE

To convert all files in a directory from tiff to cals you need a script file (Windows .bat or Linux shell script) to do it.

The following small script examples should do the conversion of all the TIFF files to CALS files.


Windows batch example (tif2cals.bat):

echo off

for %%f in (*.tif) do "c:\program files\autograph\easycopy 9.2\ecconv" -export cal %%f


Linux bash example (


for f in *.tif; do "/apps/easycopy 9.2/ecconv" -export cal $f "${f%.*}.cal"; done


Your ecconv might be located somewhere else and in this case write the correct path name in the script.

You can always improve on the script by giving directory names as parameters.

For further information on ecconv options, run:

ecconv -help