Generate Code
AI-generatedSummary
Generate a barcode or QR code image encoding the provided text with customizable options.
Inputs
- Text (required) — The text content to encode into the barcode or QR code.
- Barcode Type (required) — The format of the barcode or QR code to generate, e.g., QR Code, Code 128, EAN-13, etc.
- Output Format (required) — The image file format for the output, either PNG or SVG.
- File Name — Base name to assign to the generated image file.
- Output Binary Property — The binary property name where the generated image data will be stored.
- Render Options — Additional rendering parameters such as scaling factor, barcode height, max text size, max output size, inclusion of human-readable text, text alignment, QR error correction level, and foreground/background colors.
- Advanced Options JSON — Optional JSON configuration with additional bwip-js options for barcode rendering.
- Include Base64 JSON — Flag to also include the generated image as a base64 encoded string in the JSON output.
- Base64 Output Property — The JSON property name for storing the base64 encoded image if included.
- Include Plug Tools Metadata — Flag to include generation metadata in the output JSON under a configurable property.
- Metadata Property — The JSON property name where generation metadata is stored if included.
Output shape
a single JSON object per input item, each containing binary data of the generated barcode or QR code image under the specified binary property, and optionally base64 string and metadata fields.
The output image respects provided render constraints and formats. If 'Include Base64 JSON' is enabled, the base64 string representation of the image is also available. Metadata about the generation process is included if enabled. The size of generated images is limited by configuration to avoid excessively large outputs.