IBM Webcam 4J User Manual

Page of 98
Using the Standalone Batch Compression Utility
Before you begin
To invoke the standalone batch compression utility (cdsacomp), type the following
command at a UNIX prompt:
cdsacomp
Following are the parameters for the cdsacomp utility:
Parameter
Description
Values
-m
Specify which mode to use: precompress
or decompress. This argument is
required.
compress | decompress
The default is compress.
-i
Specify the input file to precompress or
decompress. This argument is required.
full or relative path of input file
-o
Specify the output file to save. If the
output file already exists, it is
overwritten. This argument is required.
full or relative path of output
file
-z
Use this option with “-m compress” to
override default compression values. This
argument is optional.
When decompressing, the values used
during compression are used.
level, window, memory
level—Compression level.
The range is 1–9. The default
is 1.
1—Provides the least
compression, but is the
fastest.
9—Provides the most
compression, but is the
slowest.
window—The size of the
compression window and
history buffer. Increasing the
window increases the
compression, but uses more
virtual memory. The range is
9–15. The default is 13.
memory—The amount of
virtual memory to allocate.
The range is 1–9. The default
is 4.
1—Uses the least virtual
memory.
9—Uses the most virtual
memory.
-x
Use this option to translate the file.
If this parameter is not specified, the file
is not translated.
This parameter is mutually exclusive
with -codepage.
full path to translate table file
| relative path to translate
table file
Chapter 3. Sterling Connect:Direct Utilities
49