ASCII Editor Info: #01 External library
+-------------------------------------+
- file type: text
- extension: *.dat
- directory: Program directory
Sample files:
1.) Invert library ("invert.dat" or intern)
2.) Gray scale conversion library ("bmp2ascii.dat" or intern)
3.) Pre-convert to lineart library ("lna.dat" )
You could select your own files in the configure dialog of ASCII Editor. The
program has a intern Invert- and Conversion-library, but the results aren't
so good.
WARNING:
You could create your own libs, but the program didn't check them !
It is recommended to modify one of the sample files (backup before).
The formats:
1.) Invert library
- 96 Characters
- first line: ord (32)
last line: ord(126)
- lines format: "a=b" (3 characters)
a:= original character
b:= replace character
-> Only a change of "b" takes effect, the first two chars ("a=") should only
help to navigate.
2.) Gray scale conversion library
- 96 Characters
- first char: light (normally Space)
last char: dark (normally '#' )
- Only first line is used.
3.) Pre-convert to lineart library
- no default length
- border must exists
- "END" instead of last (bottom) border
-> The program checks all chars around the active one and replace it if the
fields are identically: 2B = Checked character
ABC
+---+
1 | *|
2 | * |="New"
3 |* |
+---+
>If the fields around 2B are identically then 2B is replaced by "New".
>If 2B is empty or space then the field isn't checked.
>If no agreement is found then 2B isn't changed.
Example:
Picture = *
* *
* *
* *
Library = +---+
|* |
| * |=\
| *|
+---+
| *|
| * |=/
|* |
END
Result = *
/ \
/ \
* *
If you create your own files, I would be very happy if you send me a copy of them.