How to resize and compress photos to meet upload limits (JPG, PNG, WebP)
How pixel dimensions and compression quality affect file size, when to pick JPG, PNG, or WebP, and how to hit strict 200 KB to 2 MB form limits cleanly.
Almost everyone hits the same wall when filling out an online application: the portal asks for a portrait photo, ID card scan, or proof of payment, and immediately rejects your file with “File size must be under 200 KB” or“Maximum 2 MB, JPG only.” Modern phone cameras routinely save 12-to-48-megapixel pictures weighing 4 to 10 MB each. Understanding the two levers that actually control image file size (pixel dimensions andcompression format) lets you hit any portal requirement cleanly while keeping text and faces sharp.
Why quality sliders alone ruin photos
The most common mistake is keeping a phone photo at its native 4032 × 3024 pixel resolution and dragging the JPEG quality slider down to 15% or 20% until the file drops below 300 KB. The result looks blocky, smeared, and unreadable around printed letters, because the encoder is trying to squeeze twelve million pixels into a tiny byte budget.
Compare that with resizing first. If an upload portal only displays a document at 1200 px wide on screen (or prints a 3×4 cm thumbnail), every pixel above that size is wasted weight. Cutting width from 4032 pxdown to 1400 px removes nearly 88% of the pixel count before compression even starts. At that smaller size, you can keep JPEG quality at a healthy 80–85%, producing a crisp image that still lands comfortably under 250 KB.
JPG, PNG, or WebP: which format fits your image?
Picking the wrong file format can inflate an image fivefold overnight. Each format uses a fundamentally different compression strategy designed for a different kind of picture:
| Format | Compression style | Transparency | Best use cases | Watch out for |
|---|---|---|---|---|
| JPG (JPEG) | Lossy (discards subtle colour detail) | No | Portrait photos, ID scans, receipts, camera photos of paper | Halos around tiny crisp UI text; transparent backgrounds turn solid |
| PNG | Lossless (keeps every pixel exact) | Yes (alpha) | Screenshots with thin text, diagrams, transparent logos and signatures | Very large file size (3× to 8× bigger than JPG) for camera photographs |
| WebP | Lossy or lossless (modern encoder) | Yes (alpha) | Websites, blogs, product listings, portals that explicitly allow WebP | Older government, banking, and HR portals often accept only JPG or PDF |
Practical target recipes for common upload limits
Rather than guessing settings every time, start from these tested baselines in Image Studioand watch the live output byte readout update before you download:
| Portal requirement | Recommended width / longest edge | Format & quality | Typical resulting size |
|---|---|---|---|
| Passport / profile portrait (< 200 KB) | 600 – 900 px (crop tight to head & shoulders) | JPG at 78–85% | 60 – 160 KB |
| ID card or diploma scan (< 500 KB) | 1200 – 1500 px on the long side | JPG at 78–82% | 180 – 420 KB |
| Full A4 document photo (< 1–2 MB) | 1600 – 2000 px on the long side | JPG at 80–85% | 350 – 900 KB |
| Software screenshot / UI bug report | Original width or 1440 px max | PNG (or WebP if accepted) | 120 – 600 KB |
| Blog or product page image | 1200 – 1600 px wide | WebP at 80% (fallback JPG 82%) | 90 – 260 KB |
Step-by-step workflow in Image Studio
- Open the source locally. In Image Studio, choose your JPG, PNG, or WebP file (up to 10 MB), paste a screenshot with
Ctrl+V, or capture directly from your camera. Nothing leaves your browser. - Crop wasted background first. Switch to the Crop tab and remove empty tabletop, floor, or wall margins. Fewer wasted pixels immediately lower file weight and make text or faces larger inside the remaining resolution. Confirm the crop.
- Fix rotation if sideways. Phone photos sometimes carry orientation metadata that older portals ignore. Use Rotate & flip if the preview looks sideways, then confirm.
- Resize proportionally. In the Resize tab, keep aspect ratio locked so faces and barcodes do not stretch. Enter your target pixel width (or percentage) from the table above.
- Pick format and verify exact bytes. Select JPG, PNG, or WebP and tune quality until the displayed output size sits 10–15% below the portal’s limit (leaving safety margin for rounding differences between KB = 1,000 bytes and KiB = 1,024 bytes).
Why compressed files sometimes grow larger
Occasionally you load an already compressed 180 KB JPEG, switch the output format to PNG (or re-save at 98% JPEG quality), and the measured output jumps to 650 KB. That is normal mathematics, not a bug: lossless PNG cannot reproduce lossy JPEG savings, and saving a 75%-quality JPEG at 95% quality tries to faithfully preserve old compression artefacts. Image Studio reports the honest output size so you can spot an increase immediately and adjust dimensions or format instead.
What happens to EXIF and GPS metadata?
Photos straight off a phone camera frequently embed hidden EXIF headers containing your GPS coordinates, exact capture timestamp, and phone model. Re-encoding an image through your browser’s canvas in Image Studio normally strips those camera metadata blocks from the downloaded copy. Even so, if privacy or safety is critical, inspect the final file in your operating system’s file properties before sharing it publicly.
Avoid double compression on multi-page scans
If you plan to bundle five document photos into a single PDF under 2 MB, do not compress them aggressively to 40% quality and then re-enhance them later. Instead, straighten and clean pages once in Cam Scanner(or resize to 1600 px at 82% JPG in Image Studio) before assembling the final file in PDF Studio.
Need to print instead of upload? Print uses physical centimetres and 300 DPI rather than strict KB caps. Read our passport and ID photo sizes guide before shrinking a portrait you still need to print.