WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:image.barcode.EncodeQRCode
Description:
Id:image.barcode.EncodeQRCode
Category:accessor
Identifier Syntax

image.barcode.EncodeQRCode is an accessor using Active URI syntax with the following base identifiers:

Base
active:barcodeQRCode

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
operand
Mandatory
Representation (Determinate String)message to encode
size
Optional
Defaults to "128"
Representation (Determinate String)size of the generated square image in pixels
errorCorrection
Optional
Defaults to "L"
Representation (Determinate String)Error Correction either L, M, Q, H as string rep
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The following response representations can be returned for SOURCE requests:

SOURCE Representations
ImageAspect

This accessor throws no documented exceptions.

Import Requirements

To use image.barcode.EncodeQRCode accessor you must import the module urn:org:netkernel:mod:barcode:

<import>
  <uri>urn:org:netkernel:mod:barcode</uri>
</import>

Encodes the operand text argument as a QRCode barcode image.

size

If specified this will be the square QRCode image size (width and height). If not specified the default size is 128 pixels square.

errorCorrection

The level of errorCorrection to encode into the image. Larger error correction may require larger image size. Possible values are Low, Medium, Q (?), and High as specified in the QR Code standard. The default level is Low.