Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.
This repository was archived by the owner on May 5, 2021. It is now read-only.

OnDataRead upload status does not work for image resize #54

@frankyjin

Description

@frankyjin

While trying to read the file upload progress, your sample code works file. However, changing the following two lines:

var ms = new MemoryStream(); await file.Data.CopyToAsync(ms);

to include file format:

var format = "image/jpeg"; var imageFile = await file.ToImageFileAsync(format, 3000, 3000); var ms = new MemoryStream(); await imageFile.Data.CopyToAsync(ms);

This causes the progress to always show 0%. Is there a way to make this work? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions