Next
Previous
Table of Contents
This program is designed to be run from the command line to
facilitate processing of large numbers of input files. The
generic call is:
ecg2png [OPTIONS] < input file name >
where OPTIONS are any mixture of the long and short designations:
[--nored] [--delete x0:y0:w:h] [--blank x0:y0:w:h] [--shrink ]
[--label [x1:y1:]text] [-outputfile filename]
or
[-n] [-d x0:y0:w:h] [-b x0:y0:w:h] [-s ]
[-l [x1:y1:size:]text] [-o filename]
The options are:
- --nored/-n The red grid is removed (default NO).
- --shrink/-s N Output image is shrunken by factor of N in
each dimension. Shrinking is done AFTER
editing with the -D and -B options. Default is 5.
- --blank/-b x0:y0:w:h The region starting at x0,y0 of size w by h
is set to background color. That is, it is "blanked out".
This option may be specified several times for several
different regions. You may want to specify this option before
you specify regions for deletion to avoid problems with the
coordinate system.
- --delete/-d x0:y0:w:h The region starting at x0,y0 of size w
by h is deleted and the output image is reduced in size
correspondingly. Either w or h must equal the image's
width or height, respectively.
The image is then shrunken in the other dimension.
This option may be specified several times (current limit
of B and D actions: 20). The
coordinate system is that of the modified image,
so be careful with serial deletes!
- --label/-l [x1:y1:size:]text text will be written
starting at pixel location
(x1, y1) in the selected font size. The default values of x1 and y1 are 0.
The size choices are integers 1 through 5, where 1 is Tiny,
2 is Small, 3 is Medium Bold, 4 is Large, and 5 is Giant.
This option may be specified several times (current limit: 20).
The coordinate system is that of the image after all
delete-region (D) operations have been carried out.
- --outputfile/-o: output filename
- --help/-h: print usage instructions and exit
- -?: print usage instructions and exit
Next
Previous
Table of Contents