qr code

This block is part of the value group and was last modified in core v10.4.28.

qr code v10.4.28

A basic QR code.

In pins 3
  • value required
    value
  • options
    object

    Hidden when unused

  • output
    value

    Defines the output format, possible options: dataurl OR string. • Hidden when unused

    Default string

Out pins 1
  • value
    value

    Returns a QR code.

Renders a QR code from the input string: plain text when output="string" (default) or a data URI when output="dataurl". options.scale (1-20, default 4) and options.margin (0-10, default 4) are honored; out-of-range values silently keep the defaults. Empty input or a generation error outputs "" rather than failing.

A typical wiring for qr code: the value out pin feeds convert to uppercase.

Studio canvas example for the qr code block: typical wiring for qr code.

Version history

Introduced in v10.4.28.


Back to value Return to the main group to view all sub-groups Back to custom Return to the group to view all blocks within this group