Compress an image to a target file size in the browser with the Canvas API
DEV Community
Compress an image to a target file size in the browser with the Canvas API
Many forms ask for a photo under a fixed size, such as 50 KB or 200 KB. You can do this fully in the...
0 comments
No comments yet.