How this tool computes its result
Loads an uploaded image into an offscreen <img> element, then for each of seven fixed target sizes (16, 32, 48, 64, 180, 192, 512 pixels) draws it onto a same-size canvas via ctx.drawImage(image, 0, 0, size, size) and exports a PNG data URL — a direct stretch to a square canvas, not a crop-to-fit or aspect-ratio-preserving resize. It also generates a static copy-paste HTML snippet referencing the 16px, 32px, and 180px (apple-touch-icon) sizes plus a site.webmanifest reference, and derives a safe filename base from the uploaded file's name (extension stripped, non-alphanumeric characters replaced with hyphens, lowercased).
