generate_barcode
Generate barcode
Encode a value into any of 35 barcode and QR symbologies and return the rendered image. Supports QR Code, Data Matrix, PDF417, Aztec, EAN-13, UPC-A, Code 128/39/93, ITF-14 and more. Returns SVG markup by default (or a data: URI when asked), plus a link to the online generator pre-filled with the same value. Use "type" with the canonical name from list_barcode_types; common spellings like "qr" or "code-128" are accepted. Linear formats such as EAN-13 enforce strict charset and length rules and will fail on invalid input.
typerequiredvaluerequiredformatheightcaptionshowTexterrorCorrection