2CoSVi Comic Strip Creation Batch Script  (support@project-viewer.com)

2cosvi FILENAME COUNT DEPTH [PATH [TITLE [CONFIG]]]

 FILENAME  Filename of bitmap files without(!) extension (no CONFIG) or
           filename of source file with(!) extension when using CONFIG
 COUNT     Number of strip parts respectively bitmap files - limit: 99
           (can be 0 when using CONFIG parameter)
 DEPTH     Color depth for the target PDB files in bits (use 1 for black/
           white, 2 for 4 shades of gray, 3 for 16 shades of gray, 4 for
           16 colors, 8 for 256 colors, 16 for 65.000 colors)
 PATH      Path of the base directory where the numbered strip part direc-
           tories are sub-directories to (see 2cosvi.txt for details)
 TITLE     Title of the comic strip PDB file; this name will be shown in
           the CoSVi dropdown if the comic strip is stored in Palm memory;
           FILENAME is used as title if title is not set (PATH must be
           provided if TITLE is set - use . for current directory)
 CONFIG    Name of config file without extension listing the crop coordi-
           nates for each comic strip part consisting of x-start, y-start,
           width and height separated by a colon (e.g. 10,11,179,171);
           the last line in the file must be END (see .cfg examples)
           (crop, re-size and conversion are processed using IrfanView)

 Use double quotes(") if you use spaces in FILENAME, PATH or TITLE.
______________________________________________________________________

ATTENTION:  If you were running dilbert.bat without changing any file
you might not get an usefull dilbert_066.pdb file.
You may get messages like:
 Files .\1\dilbert_066.bmp and .\dilbert_066_1.bmp exist - remove one!

The reason is that the Dilbert example shows you both ways how to pre-
pare your comic strip part bitmaps for 2CoSVi at the same time:
  1. You can prepare your strip parts to have the same names but be
     stored in separate sub-directories.
     => dilbert_066.bmp files in the sub-directories 1, 2 and 3
  2. Or you can prepare your strip parts to have a suffix indicating
     the position of the bitmap in the comic strip .
     => dilbert_066_1.bmp, dilbert_066_2.bmp and dilbert_066_3.bmp

2CoSVi looks for both sources but can't decide which source is the
right one. If both sources are available (or none) 2CoSVi returns an
error message and adds a dummy bitmap (missing.bmp).
 => Delete the files dilbert_066_1.bmp, dilbert_066_2.bmp and
    dilbert_066_3.bmp before running dilbert.bat again!
