Set an exact width and height, or scale by percentage. Aspect ratio is locked by default so your images don't stretch.
Files never leave your device — resizing happens locally in your browser using the Canvas API.