Function imageToDataUrl

  • Parameters

    • file: File

      The image [[File]]

    Returns Promise<string>

    The converted image to data url