This adapter generates and reads QR codes.
Properties
|
|
Defines the operation executed by the adapter. Possible values:
|
Parameters
|
|
Main class of the adapter (do not change!) Possible values: de.softproject.integration.adapter.qrcode.QRCodeGenerator: Main class (default) |
|
|
Required. Width of the QR code to be generated in pixels. Possible values: Any integer (default: |
|
|
Required. Height of the QR code to be generated in pixels. Possible values: Any integer (default: |
|
|
Required. Data format of the graphics file containing the QR code to be generated. Possible values:
|
Status values
|
|
The operation was executed successfully. |
|
|
An error occurred during the execution. |
Input
The adapter expects different data as input depending on the operation to be executed.
-
Consumeoperation: Graphics file with QR code -
Generateoperation: Raw text
Output
The adapter provides different data as output depending on the executed operation.
-
Consumeoperation: Content that was read from the QR code. -
Generateoperation: Graphics file with QR code
Example
With the QR Code Generator, QR codes that contain a URL can be created and read.
The process then looks as follows:
|
Label |
File |
Description |
|---|---|---|
|
url |
url.txt |
Text file that contains the URL |
|
QR_Code_Generator |
Adapter QR Code Generator |
Operation |
|
QR_Code_Generator |
Adapter QR Code Generator |
Operation |
Parameter of the adapter:
-
imageWidth: 350 -
imageHeight: 350 -
imageFormat: PNG