zxing-wasm
    Preparing search index...

    Function formatToSymbology

    • Finds the symbology of a given format. For example, "EAN13" belongs to the "EANUPC" symbology. Returns undefined if the format does not belong to any symbology.

      Parameters

      • format:
            | "Codabar"
            | "Code39"
            | "Code39Std"
            | "Code39Ext"
            | "Code32"
            | "PZN"
            | "Code93"
            | "Code128"
            | "ITF"
            | "ITF14"
            | "DataBar"
            | "DataBarOmni"
            | "DataBarStk"
            | "DataBarStkOmni"
            | "DataBarLtd"
            | "DataBarExp"
            | "DataBarExpStk"
            | "EANUPC"
            | "EAN13"
            | "EAN8"
            | "EAN5"
            | "EAN2"
            | "ISBN"
            | "UPCA"
            | "UPCE"
            | "OtherBarcode"
            | "DXFilmEdge"
            | "PDF417"
            | "CompactPDF417"
            | "MicroPDF417"
            | "Aztec"
            | "AztecCode"
            | "AztecRune"
            | "QRCode"
            | "QRCodeModel1"
            | "QRCodeModel2"
            | "MicroQRCode"
            | "RMQRCode"
            | "DataMatrix"
            | "MaxiCode"

      Returns
          | "Codabar"
          | "Code39"
          | "Code93"
          | "Code128"
          | "ITF"
          | "DataBar"
          | "EANUPC"
          | "OtherBarcode"
          | "PDF417"
          | "Aztec"
          | "QRCode"
          | "DataMatrix"
          | "MaxiCode"
          | undefined