What it does
Draws your image onto a canvas at the target width (height scales to keep the aspect ratio unless you turn that off), then re-encodes it as PNG, JPEG or WebP. JPEG and WebP expose a quality slider for compression.
Privacy
All resizing happens locally with the canvas API; the image is never uploaded.