Draw QR codes

Affinity allows you to draw a square shape in which it will generate a QR code using data you specify via the context toolbar.

Example QR code
An example QR code that links to a website.

When setting a QR code's data, you can select from several common data types. Available settings depend on the selected type.

The Text data type can be used to encode freeform information. For example, it can be used to generate QR codes for:

Data validation

Each data type requires you to provide one or more values.

When a value is required and empty or is otherwise invalid, Affinity displays an alert icon Validation error next to it. Hover the pointer over the icon for an explanation of what is considered to be valid.

Some values are optional. For example, you do not need to provide a message body for an email.

When using the Text data type, you will need to validate the data manually.

QR code legibility

QR codes are constructed from small, square blocks called modules. Affinity automatically determines the appropriate module size based on data length and content. A QR code can consist of anything from 21 by 21 modules up to 177 by 177 modules.

QR codes are usually printed in black and white. In Affinity, the color of modules that are usually printed black can be changed using the Fill setting on the context toolbar.

Modules that are usually printed white are transparent. If this results in background elements of your design showing through the QR code, consider creating a rectangle behind the QR code to ensure the code can be scanned. QR codes also require a margin on all sides in which nothing is printed.

For further advice on QR code presentation, including the use of color and the code area and margin, see the FAQ at the technology's official website.

QR Code Tool To create a QR code:
  1. On the shape tools flyout, select the QR Code Tool.
  2. In the document view, drag on the page to set the required size of the QR code.
  3. On the context toolbar, select the Data setting. On the dialog that appears:
    1. Select the Type of data for which to generate a QR code.
    2. (Optional) Select Clear to remove any and all prepopulated information.
    3. Set all required information to a valid value.
    4. (Optional) Set additional information as needed.
  4. Select OK.

The QR code automatically regenerates as you change its data.

SEE ALSO: