write_pdf417.json
The JSON file of the “PDF417 codes” example. The code on identity documents and shipping papers: it carries far more text than a row of bars, and it survives a laser scanner dragged across it.
This file is a request: an application sends it over the network to the server, which creates the PDF and sends it back. It makes the same page as the Rust and Python versions of this example. A request names every file it uses, never its content; the call carries the request and the files together. A font the server already holds, such as DejaVuSans, is named with nothing attached. Send the request to the address the API page gives.
What this example is for
PDF417 is the code on identity documents, transport tickets and shipping papers. It carries far more text than a row of bars can, and it survives a laser scanner dragged across it rather than a camera held still — which is what a counter clerk and a loading bay actually have in their hands.
What this example shows
- PDF417 rows drawn line by line, sharp at any size.
- How wide the code runs, set by you; the rows follow from the text.
- Every code captioned with the text it carries.