How to Get a Photo or PDF Under an Upload Size Limit
By PixSplit · Published
Application portals are fussy. They reject a photo for being 3 KB over the limit, or because it is a PNG renamed to JPG, or because it is smaller than a minimum nobody mentioned. This guide gives you a reliable method for getting a photo, signature or PDF to the exact requirements without ruining it.
Read the requirements first
Write down every rule before touching the file. Portals commonly specify:
- the file type (JPG, PNG or PDF);
- the dimensions, in pixels or sometimes centimetres;
- a maximum file size, and sometimes a minimum as well, such as “between 10 KB and 20 KB”;
- extra rules for photos, such as a plain background or a recent date.
Units cause trouble. A kilobyte is 1,000 bytes by some conventions and 1,024 by others, and tools and operating systems do not always agree. Do not aim for exactly the limit. Aim for about 5 to 10 percent below it, so that whichever way the portal counts, your file passes.
The right order: crop, resize, compress
Doing the steps in the wrong order is the most common reason for blurry results.
- Crop to the shape required. Cutting away empty space removes pixels you would otherwise pay for in file size. A signature should fill most of the frame, and a passport-style photo should be framed the way the instructions show.
- Resize to the requested pixel dimensions. If the portal asks for 200 by 230 pixels, make it exactly that. A phone photo of 4,000 pixels across is far larger than any form needs, and shrinking the dimensions is the single biggest saving.
- Compress last, to the file size target. At this point the image is already small, so the compressor only has to find the best quality that fits.
Always work from your original, not from a previously compressed copy. Every pass through a lossy format such as JPG removes a little more detail.
Signatures
For a signature upload, sign with dark ink on plain white paper and photograph it in good light with no shadows. Crop tightly so the signature fills the picture, resize to the requested dimensions and save as JPG. Signatures are mostly white space and compress very well, so even a 20 KB limit is usually easy to meet this way.
Photographs
For ID and application photos, start from the sharpest original you have. Crop to the required proportions, resize and then compress. If the picture ends up too soft at the size limit, the usual fixes are better lighting in the original and a plain background, because simple backgrounds compress far better than detailed ones.
PDFs
PDFs usually exceed limits because they are scans. To get one under a limit such as 1 MB or 500 KB:
- scan at a lower resolution (150 to 200 dpi is enough for reading), and in greyscale for text pages;
- use a compressor with a target size, and check the smallest text afterwards;
- if one file is still too big, remove blank or unnecessary pages, or split it, if the portal allows several uploads.
How PDF compression works explains the trade-offs in more detail.
When there is a minimum size
If the form says “10 to 20 KB” and your result is 6 KB, you have gone too far. Raise the quality, or start from a slightly larger image and compress it to the upper limit. Very small files can also be flagged as suspicious or unreadable.
Common mistakes
- Renaming instead of converting. Changing
.pngto.jpgin the file name does not change the file inside. Convert it properly. - Compressing a compressed copy. Go back to the original.
- Hitting the limit exactly. Leave a small margin.
- Ignoring dimensions. A file can be the right size in kilobytes and still be rejected for its pixel dimensions. Our guide to pixels, DPI and image size explains how to calculate them.
Check before you upload
Open the final file and look at it at full size. Check its size in the file properties, its dimensions and its format. Then upload. Keep your original, since the next form will have different rules.
You can do every step on this site without sending your photos or documents anywhere: the compressor lets you type a target size, and one-click pages exist for the most common limits.