code-128-encoder
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "code-128-encoder", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "an optimizing encoder for your commandline, node.js and your browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
## code-128-encoder | ||
an optimizing encoder for node.js, the commandline, and your browser. | ||
an optimizing code-128 encoder for node.js, the commandline, and your browser. | ||
@@ -79,3 +79,3 @@ **this is not a renderer!** | ||
| ascii | ÑTestWÓ | the ascii characters of the encoded string | | ||
| bars | 1101001000011011100010101100100001011110010010011110100111010001101100011101011 | a 1 represents a bar a 0 represents a space | | ||
| bars | 11010010000110111000101011001... | a 1 represents a bar a 0 represents a space | | ||
| weights | 2112142133111122141142121241123113212331112 | each number represents a width alternating between bars and spaces | | ||
@@ -85,3 +85,10 @@ | codes | [ 104, 52, 69, 83, 84, 55, 106 ] | an array of code numbers as per the code 128 spec | | ||
### Examples Folder | ||
you can use this to write your own renderer. | ||
Examples will follow... | ||
in the examples Folder, there are a few example renderer. | ||
the html folder holds examples for rendering barcodes client side in the browser using a base128 font, canvas or just divs. for the html examples to work, go to the examples/html folder, and do `bower install` | ||
in the cli folder there is a ->svg->inkscape->png renderer, a plaintext renderer which renders the barcode using ascii art, and a latext rederer. |
Sorry, the diff of this file is not supported yet
196409
31
310
93