A clear answer. Here’s how.
Re-encodes a supported image through the browser canvas. JPEG removes transparency using your chosen background colour; PNG and WebP can retain it. Output is single-frame, with metadata and original colour profiles removed. Format support depends on the browser.