Project

General

Profile

Actions

Improvements #12870

open

Generate convenience method for creation of QR codes

Added by Matthias Van Ceulebroeck 4 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
08/01/2024
Due date:
% Done:

0%

Estimated time:

Description

In #11705 we have added a library to generate QR codes.
This library is shipped with Wt, but needs to be called manually by developers.

Often the encoded value will hold a specific reference to the use-case it is tied to. For example, sharing a QR code for WiFi access will result in a format of WIFI:S:<SSID>;T:<WEP|WPA|nopass>;P:<PASSWORD>;H:<true|false|blank>;;.
Likewise otp has its own format specified for this as well, as do many others.

We would not implement all possible standards here, but look for a nice middle ground.
We simply accept a string, that the developer may or may not have used to encode data in.

The error level correction, and the size of the grid need to be specified. For these we can add some defaults, but they ought to be configurable.

Actions #1

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Target version changed from 4.11.1 to 4.11.3
Actions

Also available in: Atom PDF