Function getImageData2DArrayFromCanvas

  • Parameters

    • ctx: CanvasRenderingContext2D
    • image: CanvasImageSource
    • width: number = 0
    • height: number = 0

    Returns any[][]