mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
PDF417: fix cols/rows calculation to require multiple <= 928 codewords;
add specify rows option (option_3) (#204); warn if cols increased from specified (back-incompatible); move table definitions from "pdf417.h" to new "pdf417_tabs.h" and make INTERNAL_DATA and share with composite.c (saves ~10K); prefix routines and tables with "pdf_"; some small performance improvements through if/elses, pdf_textprocess() & pdf_numbprocess() loop simplifications MICROQR: fix debug access crash on printing non-NUL-terminating binary DATAMATRIX: fix missing ++ from "[tp]" at C40/TEXT EOD processing of GS1 (though probably never reached); use "[tp++]" throughout Add const to static tables missing it and also to some variables Change "debug" -> "debug_print" throughout
This commit is contained in:
parent
706f021637
commit
4e72a541f7
47 changed files with 1949 additions and 1231 deletions
|
@ -2065,16 +2065,17 @@ amount of data into a small space. Zint supports encoding up to the ISO
|
|||
standard maximum symbol size of 925 codewords which (at error correction level
|
||||
0) allows a maximum data size of 1850 text characters, or 2710 digits. The
|
||||
width of the generated PDF417 symbol can be specified at the command line using
|
||||
the --cols switch followed by a number between 1 and 30, and the amount of
|
||||
the --cols switch followed by a number between 1 and 30, the number of rows
|
||||
using the --rows switch followed by a number between 3 and 90, and the amount of
|
||||
error correction information can be specified by using the --secure switch
|
||||
followed by a number between 0 and 8 where the number of codewords used for
|
||||
error correction is determined by 2^(value + 1). If using the API these values
|
||||
are assigned to option_2 and option_1 respectively. The default level of error
|
||||
correction is determined by the amount of data being encoded. This symbology
|
||||
uses Latin-1 character encoding by default but also supports the ECI encoding
|
||||
mechanism. A separate symbology ID can be used to encode Health Industry
|
||||
Barcode (HIBC) data which adds a leading '+' character and a modulo-49 check
|
||||
digit to the encoded data.
|
||||
are assigned to option_2, option_3 and option_1 respectively. The default level
|
||||
of error correction is determined by the amount of data being encoded. This
|
||||
symbology uses Latin-1 character encoding by default but also supports the ECI
|
||||
encoding mechanism. A separate symbology ID can be used to encode Health
|
||||
Industry Barcode (HIBC) data which adds a leading '+' character and a modulo-49
|
||||
check digit to the encoded data.
|
||||
|
||||
PDF417 supports Structured Append of up to a 99,999 symbols and an optional
|
||||
numeric ID of up to 30 digits, which can be set by using the --structapp option
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue