Job portals, university admissions, visa and government forms love a rule like "PDF, maximum 200 KB". Then you scan two pages on your phone, the file is 3.4 MB, and the upload button says no.
We build PDF tools at KovaPDF, and "compress to an exact size" is a request we see all the time. Here is what we learned about what makes a PDF big, what makes it small, and how to hit a size limit without wrecking the document.
What is actually taking up the space
Open almost any oversized PDF and the answer is the same: pictures.
Text is tiny. A page of text is a few kilobytes, because it is stored as characters plus a font, not as an image.
Fonts can add a bit, especially when a whole font is embedded instead of just the letters used, but it is rarely the main problem.
Images are the problem. A scanned page is one big photo of the paper.…