Generate a QR code PNG
Use the wrapper's generateBarcode() helper (barcodeType='qr', no custom options) to write a QR code PNG to a UUID-named temp file. With no options struct, the helper applies the historical default styling: scale=12, foreground=000000, background=ffffff, --nobackground, 2-unit whitespace on both axes. Equivalent CLI: zint.exe -o <out.png> -b 58 --scale=12 --fg=000000 --bg=ffffff --nobackground --whitesp=2 --vwhitesp=2 -d <URL>. View or download the result from the output-files panel.
Generate an inline (responsive) SVG QR code
Use generateQRSVG() to ask Zint for SVG (--filetype=svg --direct) and stream the markup back without writing a file. The helper rewrites the fixed width/height attributes to a viewBox so the SVG scales to its container, strips the XML prolog and DOCTYPE for inline embedding inside an HTML page, and replaces the default <desc>Zint Generated Symbol</desc> with the XML-encoded payload (so screen readers announce the QR target). Click Preview HTML in the Output panel to render the SVG visually.
Generate a PostNet barcode (90210)
Generate a PostNet barcode (US Postal Service ZIP code symbology) as a GIF. PostNet is Zint type 40. generateBarcode() with no options applies the non-QR default of scale=5. Equivalent CLI: zint.exe -o <out.gif> -b 40 --scale=5 -d "90210". View the rendered barcode from the output-files panel.
# Zint - Help
Source: https://www.zint.org.uk/
```
Zint version 2.15.0
Encode input data in a barcode and save as BMP/EMF/EPS/GIF/PCX/PNG/SVG/TIF/TXT
-b, --barcode=TYPE Number or name of barcode type. Default is 20 (CODE128)
--addongap=INTEGER Set add-on gap in multiples of X-dimension for EAN/UPC
--batch Treat each line of input file as a separate data set
--bg=COLOUR Specify a background colour (as RGB(A) or "C,M,Y,K")
--binary Treat input as raw binary data
--bind Add boundary bars
--bindtop Add top boundary bar only
--bold Use bold text (HRT)
--border=INTEGER Set width of border in multiples of X-dimension
--box Add a box around the symbol
--cmyk Use CMYK colour space in EPS/TIF symbols
--cols=INTEGER Set the number of data columns in symbol
--compliantheight Warn if height not compliant, and use standard default
-d, --data=DATA Set the symbol data content (segment 0)
--direct Send output to stdout
--dmiso144 Use ISO format for 144x144 Data Matrix symbols
--dmre Allow Data Matrix Rectangular Extended
--dotsize=NUMBER Set radius of dots in dotty mode
--dotty Use dots instead of squares for matrix symbols
--dump Dump hexadecimal representation to stdout
-e, --ecinos Display ECI (Extended Channel Interpretation) table
--eci=INTEGER Set the ECI code for the data (segment 0)
--embedfont Embed font in vector output (SVG only)
--esc Process escape sequences in input data
--extraesc Process symbology-specific escape sequences (Code 128)
--fast Use faster encodation or other shortcuts if available
--fg=COLOUR Specify a foreground colour (as RGB(A) or "C,M,Y,K")
--filetype=TYPE Set output file type BMP/EMF/EPS/GIF/PCX/PNG/SVG/TIF/TXT
--fullmultibyte Use multibyte for binary/Latin (QR/Han Xin/Grid Matrix)
--gs1 Treat input as GS1 compatible data
--gs1nocheck Do not check validity of GS1 data
--gs1parens Process parentheses "()" as GS1 AI delimiters, not "[]"
--gssep Use separator GS for GS1 (Data Matrix)
--guarddescent=NUMBER Set height of guard bar descent in X-dims (EAN/UPC)
--guardwhitespace Add quiet zone indicators ("<"/">") to HRT (EAN/UPC)
-h, --help Display help message
--height=NUMBER Set height of symbol in multiples of X-dimension
--heightperrow Treat height as per-row
-i, --input=FILE Read input data from FILE
--init Create Reader Initialisation (Programming) symbol
--mask=INTEGER Set masking pattern to use (QR/Han Xin/DotCode)
--mirror Use batch data to determine filename
--mode=INTEGER Set encoding mode (MaxiCode/Composite)
--nobackground Remove background (EMF/EPS/GIF/PNG/SVG/TIF only)
--noquietzones Disable default quiet zones
--notext Remove human readable text (HRT)
-o, --output=FILE Send output to FILE. Default is out.png
--primary=STRING Set primary message (MaxiCode/Composite)
--quietzones Add compliant quiet zones
-r, --reverse Reverse colours (white on black)
--rotate=INTEGER Rotate symbol by INTEGER (0, 90, 180, 270) degrees
--rows=INTEGER Set number of rows (Codablock-F/PDF417)
--scale=NUMBER Adjust size of X-dimension
--scalexdimdp=X[,R] Adjust size to X-dimension X at resolution R
--scmvv=INTEGER Prefix SCM with "[)>\R01\Gvv" (vv is INTEGER) (MaxiCode)
--secure=INTEGER Set error correction level (ECC)
--segN=ECI,DATA Set the ECI & data content for segment N, where N 1 to 9
--separator=INTEGER Set height of row separator bars (stacked symbologies)
--small Use small text (HRT)
--square Force Data Matrix symbols to be square
--structapp=I,C[,ID] Set Structured Append info (I index, C count)
-t, --types Display table of barcode types
--textgap=NUMBER Adjust gap between barcode and HRT in multiples of X-dim
--vers=INTEGER Set symbol version (size, check digits, other options)
-v, --version Display Zint version
--vwhitesp=INTEGER Set height of vertical whitespace in multiples of X-dim
-w, --whitesp=INTEGER Set width of horizontal whitespace in multiples of X-dim
--werror Convert all warnings into errors
```