• Decode a previously encoded timestamp from a canvas

    Parameters

    • context: CanvasRenderingContext2D
    • lineWidth: number

      width of the line in pixels

    • tolerance: number = 0.2

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

    Returns null | Date

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

Generated using TypeDoc