Compress PDF
Attempts to reduce PDF file size by re-serializing the document with compressed content streams. Does not re-encode embedded images, and many already-optimized PDFs will see no reduction — the original is always returned unchanged rather than a larger file.
This re-serializes the PDF's structure with compressed content streams — it doesn't re-encode embedded images, so PDFs that are mostly large images may see little or no reduction, and the original file is always returned unchanged rather than a larger one.