What this compressor changes inside the file
A PDF is a collection of numbered objects: page descriptions, fonts, images and the small dictionaries that tie them together. This tool reads the document and writes it back with object streams, a feature introduced in PDF 1.5 that packs those small dictionaries into compressed blocks and stores the cross-reference table in compressed form too. A file that was saved many times with incremental updates is written back as a single version.
With metadata removal on, the title, author, subject, keywords, creator, producer, creation and modification dates and the XMP metadata block are cleared as well.
Everything else is written back as stored. Images are not resampled or recompressed, fonts are not removed, page content is not redrawn, and bookmarks, form fields and attachments stay in place.