I want to compress images uploaded by the <InputFile />
component on client-side (before uploading to the server).
I already tried compressing it using System.Drawing
library. But that solution didn't work because due to GDI+ dependencies System.Drawing
is not allowed to be used in Blazor-wasm.
If anyone has any idea on how to reduce image size (on client-side) please help me find the solution.
Thank you.