How to Compress a PDF to 300KB on Android, Step by Step
To compress a PDF to 300 KB, shrink the page images, because in a scanned or photographed PDF the images make up almost all of the file size. Lower their resolution and JPEG quality in steps, check the size after each step, and stop as soon as the file is under the limit so you lose as little sharpness as possible.
Why a scanned PDF is so large
A PDF made from typed text can be tiny, because it stores characters. A PDF made from photos or a scanner stores a full picture of every page, and that picture is what weighs hundreds of kilobytes. This is why a form that asks for a document "under 300 KB" is so awkward to satisfy with a phone camera: modern phone photos are far larger than that before they even go into a PDF.
It also tells you where to look. Making the text smaller, or deleting pages, barely helps. Reducing the resolution and quality of the page images is what moves the number.
A step-by-step ladder to reach the limit
The method that works most reliably is to try gentler settings first and only get more aggressive if the file is still too big. This is the ladder our app follows, with settings given for an A4 page:
| Attempt | Page resolution | JPEG quality |
|---|---|---|
| 1 | About 200 dpi (1654 px wide) | 75 |
| 2 | About 150 dpi (1240 px) | 65 |
| 3 | About 120 dpi (992 px) | 55 |
| 4 | About 100 dpi (826 px) | 45 |
| 5 | About 75 dpi (620 px) | 40 |
After each attempt the file size is measured, and the process stops at the first result that fits under the target. If even the last step is still above the target, the smallest result is kept rather than failing outright. Whatever tool you use, the principle is the same: measure, adjust, repeat, and do not go lower than you need to.
What you give up when you compress
- Sharpness. At the bottom of the ladder, small print becomes soft. Zoom in and read your own document before you submit it, especially numbers, dates and signatures.
- Selectable text. Compressing by turning each page into an image means the text becomes part of the picture. It still looks the same but you can no longer select or search it. If a form needs searchable text, compress the source photos before making the PDF instead.
When compression makes the file bigger
Re-encoding is not guaranteed to shrink a file. Noisy images, such as photographs with grain or dithered scans, can come out larger as JPEG. We saw a 1.5 MB test file turn into 3.6 MB, which is why our app compares the result with the original and, if the compressed version is not smaller, hands back the original unchanged instead. If a tool tells you "0% reduction" or gives you a bigger file, that is the reason, and the fix is to reduce the resolution of the source photos.
Other things you can do before compressing
- Send only the pages you need. Splitting out the relevant pages is often the biggest saving of all.
- Photograph at a lower resolution in the first place, if your camera app allows it.
- Combine photos into one PDF first, in the right order, and compress once at the end, rather than compressing each image separately.
- Check the rotation. Portrait photos carry orientation metadata that some PDF viewers ignore, so a PDF can come out sideways. Making sure the rotation is applied to the page itself avoids that.
Converting JPG to PDF offline
For a photographed document, the steps are: select the images, set their order, and combine them into a single PDF. This works for receipts, handwritten notes and signed pages. Merging joins several PDFs top to bottom in the order you set, and splitting lets you pick pages and save them separately. All of this can run on the phone without a connection.
Why keeping files on the phone matters
The documents people most often shrink for uploads, such as ID cards, contracts, medical forms and pay slips, are the ones you least want to pass through an unknown server. Many free web converters process files remotely because that is easier to build. Doing it on the device means the file never leaves your phone, and you can verify that by switching on airplane mode and running the same job.
For the next time you need this
Our Android app, Photo to PDF, does the ladder above automatically: choose the "Under 300KB" preset (the others are "Around 1MB" and "Smallest possible"), and it works out how far to squeeze. It also handles photo to PDF, merge, split, PDF to JPG, lock and unlock, and has a viewer. Nothing is uploaded, there is no account and there is no watermark. Product page: wing40.github.io/apps/photopdf. Google Play: Photo to PDF on Google Play.
The app is free and ad-supported, with a banner and an interstitial when you save. The ads do not have access to your files.
Comments
Post a Comment