QRCodeEncoder_Params
import { QRCodeEncoder_Params } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
QR code encoder parameters.
Constructors and members
static new
Create an owned QRCodeEncoder_Params object. Release native handles with using or delete().
new(): QRCodeEncoder_Params;The QRCodeEncoder_Params result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
version
The optional version of QR code (by default - maximum possible depending on the length of the string).
version: number;correction_level
The optional level of error correction (by default - the lowest).
correction_level: number;mode
The optional encoding mode - Numeric, Alphanumeric, Byte, Kanji, ECI or Structured Append.
mode: number;structure_number
The optional number of QR codes to generate in Structured Append mode.
structure_number: number;These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.