home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
fax067.zip
/
t2t.doc
< prev
next >
Wrap
Text File
|
1996-08-28
|
8KB
|
226 lines
T2T.DOC
Documentation for T2T.EXE
1) Commandline switches:
-NORENAME
Automatically rename of temporary file (*.TI~) is OFF, target file still
remains *.TI~.
-DELETE
Sourcefile(s) is deleted by program, target, if named *.TI~ is also
renamed to (first) source file name.
-GRAY[<no_of_bitspersample>]
Target file will be GrayScale TIFF, if <no_of_bitspersample> is supplied
(4 or 8) then 4 bit (16) or 8 bit (256) is used. Default (if no
<no_of_bitspersample> is defined) a value of 8 bit (256) is assumed.
Any value less than 4 is assumed as 4, and less then 8 is assumed as 8.
-COMPRESSION<TIFF_compression>
Target file will have compression as here defined. Valid values are:
1 (uncompressed and default),
2 (Huffman without EOL),
3 (Huffman with EOL),
4 (Read whitout EOL),
5 (LZW) and
32773 (PackBit).
-COLOR[<no_of_bitspersample>]
Target file will be Color TIFF, if <no_of_bitspersample> is supplied
(4 or 8) than 4 bit (16) or 8 bit (256) palettecolor will be used.
Default (if no <no_of_bitspersample> is defined) TrueColor (24 Bits)
will be assumed. Only values of 4 or 8 is valid, else TrueColor is used.
-2D
Is used as a shurtcut to 2-D Read without EOL compression (4).
-1D
Is used as a shortcut to 1-D Huffman without EOL compression (2).
-2F
Is used as a shortcut to 2-D Read with EOL compression (4) as defined in
CCITT T.4 for fax. Imagewidth is set to standard 1728 pixels. Images
which are smaller will be centered, else cut to fit. Resolution is set
to 204x196 dots per inch.
-1F
Is used as a shortcut to 1-D Huffman with EOL compression (3) as defined
in CCITT T.4 for fax. Imagewidth is set to standard 1728 pixels. Images
which are smaller will be centered, else cut to fit. Resolution is set
to 204x196 dots per inch.
-NORMAL
TIFF resolution is set to XRes = 204 dpi, YRes = 96 dpi.
-RESOLUTION<dpi[Xdpi]>
XRes and YRes is set to <dpi> dots per inch.
-I<Infile_name>
MUST be defined (or in CFG, see 'INFILE') to supply proper name for file(s)
to use. All wildcards ('*' and '?') can be used, format MUST be TIF (or
TIF in an EPS-File) or fax rawdata (see there).
-O<Path_to_outfile>
If defined, this is used as a drive and directory specifier for target
file(s). See also FAXPATH in CFG. If not defined, drive and directory of
INFILE is used. If converting MORE than one INFILE to ONE OUTFILE
(multipaged), than drive, directory and name of the FIRST INFILE is used.
-O@<CFG-file>
If this methode is used, more parameters could be supplied (see CFG), they
are treated as if supplied in commandline. All parameters supplied before
THIS, will be overwritten if also defined in CFG, all parameters supplied
AFTER this, will overwrite CFG-parameters! Some parameters ('FAXLOG' and
'FAXIDX' can ONLY supplied in this way).
-K<rawdata_compression>
This parameter should be supplied, if raw fax data is converted by T2T.
No check is done, so only values 3 or 4 are sensefull!
-FILLORDER<rawdata_fillorder>
This parameter should be supplied, if raw fax data is converted by T2T.
No check is done, so only values of 2 (some faxmodems) and 1 (default)
are senseful!
-DIFFUSED
If T2T must convert from a colorscheme to another (eg color to B&W) this
parameter selects Floyd-Steinberg error diffusion method for target TIFF.
Not recommanded, if source is palettecolor, because a limited and not
fixed pallete will also be used for target.
-DITHERED
If T2T must convert from a colorscheme to another (eg color to B&W) this
parameter selects a fixed dither (4x4 or 8x8) method for target TIFF.
This may be used with CAUTION! The results are good, but source in
palettecolor will look ugly in target.
-BLACK
If T2T must convert from a colorscheme to another (eg color to B&W) this
parameter selects straightforward method for target TIFF. Can be used also
with colored source, but only a few (matching) number of colors is used
in target.
-SINGLE
Each target TIFF is singlepaged and named PAGEnnnn.TIF.
CAUTION! Each time T2T is called, counter (nnnn) is reset to 1 and no check
is performed to prevent overwriting of existant files!
-S
Shortcut of SAME meaning of '-BLACK', DO NOT use it, because it will
be changed in next version (to blacktrigger and/or gamma).
-H or -?
Shows (a part of) this.
2) Parameters for configuration file
Configuration file must be supplied at commandline with '-O@<filename>'.
SINGLE
Same as '-SINGLE' in commandline.
NORENAME
Same as '-NORENAME' in commandline.
DELETE
Same as '-DELETE' in commandline.
DIFFUSED
Same as '-DIFFUSED' in commandline.
DITHERED
Same as '-DITHERED' in commandline.
BLACK
Same as '-BLACK' in commandline.
2D
Same as '-2D' in commandline.
1D
Same as '-1D' in commandline.
2F
Same as '-2F' in commandline.
1F
Same as '-1F' in commandline.
GRAY [<no_of_bitspersample>]
Same as '-GRAY' in commandline.
COLOR [<no_of_bitspersample>]
Same as '-COLOR' in commandline.
INFILE <Infilename>
Same as '-I' in commandline.
TIFEXT
Used as extention for target TIFF. If both FAXLOG and FAXIDX are also
supplied (third party application) an extention of *.FAX is used by
default.
FILLORDER <rawdata_fillorder>
Same as '-FILLORDER' in commandline.
COMPRESSION <TIF_compression>
Same as '-COMPRESSION' in commandline.
PHOTOMETRIC <TIF_photometricinterpretation>
Valid valus here are:
0 ... for black&white, 0 (zero) is white and 1 (one) is black.
for GrayScale, 0 (zero) is white bitspersample^2 - 1 is black.
1 ... for black&white, 0 (zero) is black and 1 (one) is white.
for GrayScale, 0 (zero) is black bitspersample^2 - 1 is white.
2 ... Only for TrueColor (24 bit), no ColorMap is used.
3 ... Only for palettecolor (16 or 256 colors), a ColorMap is build.
if nothing is defined, a value of 1 (one) is used for black&white and
GrayScale target. For colored target, the value is choosen from -COLOR.
BITSPERSAMPLE <TIF_bitspersample>
Not very meaningful to use this parameter, but it overwrites (if CFG is
defined after) the '-COLOR' and '-GRAY' settings.
FAXPATH <target_drive_and_directory>
Same as '-O' in commandline.
FAXLOG <Third_party_FAX.LOG>
Used if also 'FAXIDX' is defined, to create entry in third parties
application. Target is named FXnnnnnn.FAX in conjunction with number from
FAXIDX. 'FAXPATH' is used to form drive and directory. See also
documention for FREC.
FAXIDX
Used if also 'FAXLOG' is defined, to create entry in third parties
application. See there.
3) Hints
Conversion of (partially) distorted fax rawdata will normally FAIL because
T2T is not a special fax raw data converter (eg as FREC).
Although, fax rawdata MAY be converted without faults, it is not the
intention of this application, to do this kind of job! No (dedicated)
resynchronisation is performed from T2T (as FREC does in realtime).
While T2T.EXE is of small size, it is RECOMMANDED to use FREC instead to
yield best (in fact ABSOLUTLY best) results in converting fax raw data.
Both FREC and T2T use the same TIFPROC.DLL to handle creation of TIF target,
but FREC uses its own dedicated resynchronisation routines, which are
not in T2T. There is also NO WAY to supply a mailers logfile to decide
which compression (and resolution) of rawdata should be used.
Zyxels ZFAX fax format is only partial supported. This means that a
SINGLE page is normally accepted from T2T (as from FREC) but if file
contains MORE than one page, conversion is stopped if first EOP is
encountered (EOP = 6x EOL only).