Function readCanvas

  • Read an image from an HTML canvas element.

    Parameters

    • canvas: HTMLCanvasElement

      Canvas element.

    Returns Image

    The read image.