OptionalcolorColor configuration for QR code modules.
OptionalerrorError correction level per SMART Health Cards specification:
OptionalmarginQuiet zone size (border) around the QR code in modules.
OptionalmaskMask pattern used to mask the QR code symbol. Auto-selected by default for optimal readability.
OptionalscaleScale factor for output image. A value of 1 means 1 pixel per module.
OptionalversionQR code version determining symbol size. Version 1 is 21x21 modules, Version 2 is 25x25, etc. Auto-selected by default based on data size.
OptionalwidthForces specific width for output image in pixels.
Takes precedence over scale if specified.
Additional QR encoding parameters that can be passed to the qrcode library. This interface matches the expected qrcode library params.