• Decode a previously encoded timestamp from a canvas

    Parameters

    • context: CanvasRenderingContext2D
    • lineWidth: number

      width of the line in pixels

    • Optional tolerance: number

      percentage of tolerance for the black and white threshold, 0.2 by default

    Returns Date | null

    The Date object representing the timestamp or null if the timestamp cannot be decoded

Generated using TypeDoc