1. Introduction
1-3
Determining a Method
You can use one of two methods to map out your graphic image:
Hexadecimal Method
The dot sequences are segmented into Binary numbers, and then
converted to Hexadecimal numbers.
A graphic using gray-scaling, several slanted lines, or several vertical
lines typically translates more efficiently with Hex Representation.
Run Length Encoding Method
The dot sequences are segmented into black and white strings within
a row. The total count of each white string is converted to a lowercase
letter, corresponding to numeric value. The total count of each black
string is converted to an uppercase letter, corresponding to numeric
value. This method is more complicated, but can reduce imaging time
for graphics that contain repetitive rows of dots.
A graphic with horizontal lines or very few white-to-black borders
typically translates more efficiently with Run Length Encoding
.
The most efficient encoding method depends on how complicated your
graphic image is and whether or not imaging time is a concern. You may want
to experiment with both encoding methods to get optimal performance.