Function createCanvasFromMedia

  • Parameters

    • media: HTMLImageElement | HTMLVideoElement | ImageData
    • Optionaldims: IDimensions

    Returns HTMLCanvasElement