How to Compress Images & PDFs to Exact Portal Size Limits (20KB, 50KB, 100KB, 1MB)
Hit strict government visa, passport, university, and HMCTS upload size caps (20KB, 50KB, 100KB, 500KB, 1MB) cleanly in your browser without blurry guesswork.
Why standard "high / medium / low" sliders miss strict portal limits
Visa portals, Companies House attachments, council permits, and exam boards frequently reject uploads over rigid byte ceilings such as 50 KB, 100 KB, or 1 MB โ while also rejecting files below minimum pixel dimensions.
Instead of guessing a quality percentage ten times in a row, target-KB binary search tests encoder quality steps automatically inside your browser until the output lands just below your exact KB budget at maximum sharpness.
Best settings for crisp text vs. portrait photos
Different documents compress differently:
- ID & Passport Photos (20KBโ100KB): Crop to the required aspect ratio first, strip bloated camera EXIF profiles (which alone add 15โ60 KB!), then run target-KB JPEG encoding.
- Multi-page Scanned PDFs (500KBโ1MB): Downsample 600 DPI phone scans to 150โ200 DPI โ visually crisp on screen while cutting file weight by 70โ85%.
Frequently asked questions
Why is a blank-looking iPhone photo still 3 MB?
iPhones capture 12โ48 MP HEIC images with embedded Live Photo frames, Apple Display P3 colour profiles, and EXIF metadata. Converting to standard sRGB JPG and stripping metadata drops 90% of the size instantly.