Barcode
barcode_createCall this tool to draw a linear barcode (code128, ean13, ean8, upca) as SVG, or PNG to out_path. A short EAN or UPC gets its check digit computed; a wrong one is refused, never redrawn. qr_create makes QR codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Print the digits under the bars (default true) | |
| value | Yes | The data to encode. Digits only for EAN and UPC | |
| format | No | svg (default, free) or png (Pro) | |
| height | No | Bar height in the same units (default 80) | |
| out_path | No | Name for the downloaded file, e.g. acme-code. SVG is returned inline when this is left out; a PNG always comes back as a download link valid for one hour | |
| overwrite | No | Replace a file of the same name already produced in this request (default false) | |
| symbology | Yes | code128 for any printable ASCII, ean13 and ean8 for retail products, upca for North American retail | |
| module_width | No | Width of the narrowest bar, in pixels or SVG units (default 2) |