This blog will discuss how to calculate the size of a media file in a canvas app. This can be useful if needed to do some validation on the size of the media that will be uploaded by a user. The demo below shows the scenario where the app displays the size of an image as a notification when a user has uploaded it from his device.
Demo :

How it works ?
The Add picture control is…
Continue Reading Mehdi El Amri’s Article on their blog
https://xrmtricks.com/2022/01/14/how-to-calculate-media-file-size-in-a-powerapps-canvasapp/
Blog Syndicated with Mehdi El Amri’s Permission

