Cut file size without losing the highlights
Resize, requality, and reformat locally. Metadata handling is shown honestly: we can genuinely preserve EXIF for JPEG output by splicing the original segment back in — for PNG/WebP output there's no equivalent path here, so we say so instead of a checkbox that does nothing.
How Optimize actually works
Optimize runs the same decode/re-encode pipeline as Convert, with two things added on top: resizing (via canvas, before re-encoding — never after, so the resize quality reflects the final output) and, for JPEG output specifically, a genuine EXIF-preserving option.
EXIF preservation works by extracting the original file's EXIF segment directly from its bytes and splicing it into the newly-encoded JPEG's output — a real byte-level operation, not a metadata copy performed by a library that might silently drop fields. It's only offered when the source file actually has an EXIF segment to preserve, and only for JPEG output, since that's the only format this splice path is implemented for.
Quality and resize dimension are both applied locally, in a Web Worker, before you ever see a result — nothing is uploaded to estimate or preview the output.