Not sure which Scandit product fits your use case?
Install our data-capture-sdk skill so your coding agent can answer questions about Scandit products and recommend the right one for your use case, directly from your editor. More info →
Run this in a terminal in your project directory, then follow the instructions to select your coding agent.
npx skills add https://github.com/scandit/skills --skill data-capture-sdkYour coding agent loads the skill automatically based on your prompt; to invoke it explicitly, call /data-capture-sdk followed by your task.
Barcode Generator
The Barcode Generator is a simple API to generate barcodes directly from the Scandit SDK. This document describes the JSON format understood by the sc_barcode_generator_set_options() function.
General Options
foregroundColor: 4-tuple of integers [r, g, b, a] withr,g,bandabeing in the range [0, 255]backgroundColor: 4-tuple of integers [r, g, b, a] withr,g,bandabeing in the range [0, 255]
2D Symbologies
QR Code
errorCorrectionLevel: string, may be"L"(up to 7% damage),"M"(up to 15% damage),"Q"(up to 25% damage) or"H"(up to 30% damage). Default correction level is"M".versionNumber: positive integer, overrides desired version number. Version number is automatically chosen if not set. Barcode generation might fail if version number is too small.{
"foregroundColor" : [ 255, 0, 0, 255 ],
"backgroundColor" : [ 0, 0, 255, 255 ],
"errorCorrectionLevel": "Q"
}