You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2021. It is now read-only.
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!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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!
The text was updated successfully, but these errors were encountered: