|
Batch
script commands
 |
 |
WiseImage command(s): File > Acquire,
Insert > New Image from Scanner
Category: File
Description:
Acquires the image using the specified TWAIN source, creates a new document consisting
of one raster image, and places the result of acquiring on this image.
Format:
/Acquire
DPI:<dpi_value> BPP:<bpp_value> [GRAYSCALE] [SOURCE:"<source
name>"]
Parameters:
DPI
Specifies the scanner resolution
in dots per inch.
BPP
Defines the number of colors to be used for image
acquiring as color depth in bits per pixel. Color depth determines the number
of bits used for color representation when an image is being scanned. It may take
the following values: 1, 4, 8, 16, and 24. For example, BPP: 1 value defines the
bitonal scanning and BPP:24 value defines the TrueColor (RGB) scanning.
GRAYSCALE
Forces
the program to use the grayscale scanning mode. If you set this parameter, you
must define BPP = 8, or else grayscale parameter will be ignored.
SOURCE
Specifies
the name of the TWAIN source that will be used for acquiring the image. If it
is omitted, the program uses the default source.
Example:
/Acquire DPI:150
BPP:24
See also: Aquire
Next Raster, Open, New, Close,
Save, Save As, Export,
Insert Image, Save Image As,
Print
|
|
|
 |
|
WiseImage
command(s): File > Acquire,
Insert > New Image from
Scanner
Category: File
Description:
Acquires the image using the specified TWAIN source, creates a new raster
image in the existing document, and places the result of acquiring on this image.
Format:
/AcquireRaster
[RN:"<raster_name>"] DPI:<dpi_value> BPP:<bpp_value>
[GRAYSCALE] [SOURCE:"<source name>"]
Description
of Parameters:
RN
Specifies the name of the raster that is used for results
of scanning.
DPI, BPP, GRAYSCALE, SOURCE are described above in "Acquire"
Example:
/AcquireRaster
DPI:300 BPP:8 GRAYSCALE
See also:
Open, New, Close,
Save, Save As, Export,
Insert Image, Save Image As,
Print
|
|
|
 |
|
WiseImage
command(s): File> Close
Category:
File
Description: Closes current document.
Format:
/Close
See
also: Aquire, Aquire
Next Raster, Open, New, Save,
Save As, Export, Insert
Image, Save Image As, Print
|
|
|
 |
|
Category:
File
WiseImage command(s): File>
Exit
Description:
Closes application
Format:
/Exit
See
also: Aquire, Aquire
Next Raster, Open, New, Close,
Save As, Export, Insert
Image, Save Image As, Print
|
|
|
 |
|
Category:
File
WiseImage
command(s): File> Export
Description:
Export current document in Color Workspace file (CWS)
or AutoCAD file (DXF, DWG).
Format:
/EXPORT[
FNAME]:"<filename>" FTYPE:"<ext>"
Example:
/EXPORT:"C:\WISEIMAGE5\Samples\MyWorspace.cws"
FTYPE:"cws"
See also: Aquire,
Aquire Next Raster, Open,
New, Close,
Save As, Export, Insert
Image, Save Image As, Print
|
|
|
 |
|
Category:
File
WiseImage
command(s): File> New
Description:
Opens New document.
See
also: Aquire, Aquire
Next Raster, Open, Close, Save,
Save As, Export, Insert
Image, Save Image As, Print
|
|
|
 |
|
Category:
File
WiseImage
command(s): File> Open
Description:
Opens an existing document.
Format:
/Open[
FNAME]:"<filename>"
Example:
/Open:"C:\WISEIMAGE5\Samples\map.tif"
See
also: Aquire, Aquire
Next Raster, New, Close, Save,
Save As, Export, Insert
Image, Save Image As, Print
|
|
|
 |
|
Category:
File
WiseImage
command(s): File > Print
Description:
Prints the specified area of the current document
to the selected printer with the scale you define.
Format:
/PRINT
[FIT | SCALE: <scale>] [LEFT:<offset> TOP: <offset> RIGHT: <offset>
BOTTOM: <offset>] [NUMCOP:<copies>] [PNAME:"<printer name>"]
Description
of Parameters:
FIT and SCALE
Specify the print scale. With both parameters
omitted, the command prints the image without scaling so that 1 image millimeter
(or inch) represents 1 millimeter (or inch) on the paper.
FIT
Scales the
print so that the portion of the document to be printed is made as large as possible
for the specified paper size.
SCALE
Multiplies the print dimensions to the
specified scale factor. For example, /PRINT SCALE:0.5 reduces the image by half
before printing it.
LEFT, TOP, RIGHT, and BOTTOM
Defines the portion of
the document to be printed. Each of these parameters defines the offset of print
area boundary. If the parameter value is positive, the margin will be added to
the appropriate boundary side. If it is negative, the stripe of the defined width
will be cut from the print area boundary. If some of these parameters are omitted,
the appropriate offsets will be equal to 0.
NUMCOP
Specifies the number
of copies to print. If it is omitted, the command prints one copy.
PNAME
Specifies
the name of a printer. If it is omitted, the command directs print to the default
Windows printer. The printer name should be typed as it appears in the Printer
Name list box of the Print dialog.
Example:
/PRINT SCALE:2.5 LEFT:17.5
BOTTOM:10 NUMCOP:2
See also: Aquire,
Aquire Next Raster, Open,
New, Close, Save,
Save As, Export, Insert
Image, Save Image As
|
|
|
 |
|
Category:
File
WiseImage
command(s): File > Save As
Description:
Saves the current document to a new file. It can
be saved in Color Workspace format (CWS) or AutoCAD file format (DXF, DWG).
Format:
/SaveAs[
FNAME]:"<filename>" FTYPE:"<ext>"
Example:
/SaveAs
FNAME:"C:\WISEIMAGE5\Samples\test.cws" FTYPE:"cws"
See
also: Aquire, Aquire
Next Raster, Open, New, Close,
Save, Export, Insert
Image, Save Image As, Print
|
|
|
 |
|
Category:
File
WiseImage command(s): File
> Save As
Description:
Saves the current document to file. If the current document cannot be saved in
the current file, this command will be ignored. It may happen, for example, if
you try to save several images or vector objects in image format.
Format:
/Save
See
also: Aquire, Aquire
Next Raster, Open, New, Close,
Save As, Export, Insert
Image, Save Image As, Print
|
|
|
 |
|
Category:
File
WiseImage command(s): File
> Save As
Description:
Saves image in new image
format.
Format:
/SaveImageAs[ INAME]:"<imagename>"
FNAME:"<filename>" FTYPE:"<ext>"
Example:
/SaveImageAs:"electr"
FNAME:"C:\WISEIMAGE5\Samples\test.tif" FTYPE:"tif"
See
also: Aquire, Aquire
Next Raster, Open, New, Close,
Save, Save As, Export,
Insert Image,Print
|
|
|
 |
|
Category:
File
Description:
Sets new document's title.
Example:
/
SetDocTitle FNAME:" test.cws"
See also: RunScript,
Set Log File
|
|
|
| |
|