From Dev.to
Resize and Crop Images in the Browser with the Canvas API — No Server, No Upload
Why process images on the client at all Most image tools upload your file to a server, resize it there, then send a new file back. That works, but it has three downsides: your photos leave the devic...
