Skip to main content
Skip table of contents

QR Code Generator

This adapter generates and reads QR codes.

Properties

Operation

Defines the operation executed by the adapter.

Possible values:

  • Consume: Reads a QR code.
  • Generate: Generates a QR code.

Parameters

Adapter

Main class of the adapter (do not change!)

Possible values:  de.softproject.integration.adapter.qrcode.QRCodeGenerator: Main class (default)

imageWidth

Required. Width of the QR code to be generated in pixels.

Possible values: Any integer (default: 350)

imageHeight

Required. Height of the QR code to be generated in pixels.

Possible values: Any integer (default: 350)

imageFormat

Required. Data format of the graphic file containing the QR code to be generated.

Possible values:

  • JPEG 2000
  • PNG (default)
  • RAW
  • TIFF
  • WBMP

Status values

1

The operation was executed successfully.

-1

An error occurred during the execution.


Input

The adapter expects different data as input depending on the operation to be executed.

  • Consume operation: Graphic file with QR code

  • Generate operation: Raw text

Output

The adapter provides different data as output depending on the executed operation.

  • Consume operation: Content that was read from the QR code.

  • Generate operation: Graphic 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:

LabelFileDescription
urlurl.txt

Text file that contains the URL https://softproject.de/de/.

QR_Code_GeneratorAdapter QR Code GeneratorOperation Generate 
QR_Code_GeneratorAdapter QR Code GeneratorOperation Consume 

Parameter of the adapter:

  • imageWidth: 350
  • imageHeight: 350
  • imageFormat: PNG



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.