Function getFileFromDataURL

  • Function that transforms Data URL into the file

    Returns

    File

    Parameters

    • dataURL: string

      Data URL from which the file has to be generated

    • fileName: string = 'image'

      Name of file that you require in generated file object

    Returns File

Generated using TypeDoc