home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TopWare 18: Liquid
/
Image.iso
/
liquid
/
top1115
/
readme
< prev
next >
Wrap
Text File
|
1991-02-25
|
8KB
|
202 lines
PCX Scan Line Translator
(c) Copyright 1991, Matthew Wilson
Version 1.7 Documentation
(PCX to DXF)
Matthew Wilson
5040 Whitman Terrace
Pennsauken, NJ 08109
I. Catalog Description
PCXSLT17
Translates PCX (black/white) to DXF. Translate clip art or any PCX
drawing into DXF format. This program was written to handle massive
scanner files (unlimited size.) There is automatic layering. Extract
all layers or any single layer. Manipulate individual scan lines.
Scan at high resolution then selectively eliminate scan lines to
reduce file size. Select reverse video. Extensive methods to handle
large files. Stray pixels are filtered. This program works by trans-
lating each scan line into different line segments.
II. Additional Program Information
1. Maximum of 32000 points per layer.
2. Black and white images only.
3. Memory requirements - 256k.
III. Benefits of Registering
1. Receive an improved version that reduces the size of the
output file.
2. Future upgrades will include an outlining feature. This feature
will trace the PCX image producing an output file containing
lines and curves. This currently works but improvements are being
made before release.
3. Special emphasis on handling text is also planned for future
releases.
4. To register type: PRINTME
IV. Background Information
While trying to develop some maps for my small business I found
that programs to convert PCX files to DXF files were too expensive.
Overlay programs were also too expensive. I thought that if I could
just get the image into a DXF format (dots, lines or anything) then
I could trace the image and end up with what I want. I was working
with 1.5M PCX files so I needed several methods to handle large
files. The PCX Scan Line Translator was written to really solve
the above problems.
V. Program Documentation
1. To run program type: PCXSLT17
2. A screen containing the following data will appear:
1. Input file : GCNJ.PCX
2. Output file : GCNJ.DXF
3. Points per layer : 32000
4. Reverse video : 0
5. Layer # : -1
6. Inclusion lines : -1
7. Exclusion lines : -1
F1 - SAVE/RUN F2 - RESET F3 - EXIT
3. Explanation of screen:
1. Input file - Enter input file with PCX extension.
2. Output file - Enter output file with DXF extension.
3. Points per layer - Set any number of points per layer
that you would like. Max. = 32000.
4. Reverse video - 0 = default; 1 = reverse video.
5. Layer # - -1 = Turn off this feature.
Select all layers.
0 = Select layer 0 only.
1 = Select layer 1 only.
2 = Select layer 2 only.
. . . . . .
6. Inclusion lines - -1 = Turn off this feature.
Include every scan line.
2 = Include every 2nd scan line.
3 = Include every 3rd scan line.
4 = Include every 4th scan line.
. . . . . . .
7. Exclusion lines - -1 = Turn off this feature.
2 = Exclude every 2nd scan line.
3 = Exclude every 3rd scan line.
4 = Exclude every 4th scan line.
. . . . . . .
8. F1 - SAVE/RUN - Press F1 to save your current selections
and then to run the program. After the
program finishes it will return to this
screen.
9. F2 - RESET - Press F2 to replace current screen with
old screen.
10. F3 - EXIT - Press F3 to exit program.
4. Program Usage
1. This program does produce large output files but I've
included several methods to get around this problem.
- Extract a single layer.
- Set the layer size in points per layer.
- Pick the sequence of scan lines to include.
- Pick the sequence of scan lines to exclude.
Example 1: You need to translate a small clip art file to
DXF format. Use the default settings. Some
drawings may need the reverse video set to 1.
- Points per layer : 32000
- Reverse video : 0
- Layer # : -1
- Inclusion lines : -1
- Exclusion lines : -1
Example 2: You have a large clip art file scanned at a
resolution of 300 dots per inch. You need to
trace the image and a resolution of 100 dots
per inch is ok. Do the following:
- Inclusion lines : 3
- Selecting every 3rd scan line will
reduce the vertical resolution to
100 dots per inch.
- If the file is still too large try
extracting a single layer only.
Example 3: A massive scanner file (E size) needs to be
translated.
-Inclusion lines : 10
- This will cause every 10th scan line
to be extracted. You can now look at
the image. Decide if you like the layer
size and resolution.
- Layer # : 3
- Exclusion lines : 4
or
- Points per layer : 20000
- Layer # : 3
-Let's say you want to start with layer
3. You like the scanner resolution but
the layer file is still a little too
large. Excluding every 4th scan line
will reduce the file size by 25%. An
alternative is to reduce the layer size.
VI. Registration Information
Registering this program will allow you to obtain an improved
version of this program that will help reduce the size of the
output file. Also, registering will give you access to future
upgrades. Future upgrades will include:
1. Outlining feature. This will trace the image
rather than use the scan line translator. This
method is used by standard PCX to DXF conversion
programs costing hundreds of dollars. All upgrades
will be able to handle files of unlimited size.
2. Special text handling abilities. Wouldn't it be
nice to quickly locate text and then replace the
lines and arcs with actual text?
In order to register send $15.00 to:
Matthew Wilson
5040 Whitman Terrace
Pennsauken, NJ 08109