FileKit
All posts
·7 min read

File Size Management — How to Shrink PDFs and Images for Any Limit

Practical strategies for reducing file sizes to meet email limits, upload caps, and storage constraints. Covers PDFs, images, compression, splitting, and prevention.

Why File Size Is a Constant Problem

File size limits are everywhere. Gmail blocks attachments over 25 MB. Many job portals reject uploads over 5 MB. Government form submissions often cap at 2 MB or even 1 MB. WhatsApp compresses documents over 100 MB. Cloud storage fills up. Slow internet connections make large files painful to transfer.

This guide covers practical strategies for managing file sizes across the most common document and image formats — with specific techniques and tools for each.

Understanding What Makes Files Large

PDFs

PDF file size is dominated by embedded images. A 50-page text-only PDF might be 200 KB. Add one high-resolution photo per page and it becomes 50 MB. Scanned documents are especially heavy because each page is a full-resolution image (a single 300 DPI A4 page scan is about 8 MB uncompressed).

Other contributors to PDF size:

  • Embedded fonts (each font adds 50-500 KB)
  • Vector graphics with many paths (complex CAD drawings, detailed maps)
  • Multiple layers and annotations
  • Metadata and document structure overhead

Images

Raw camera photos from modern smartphones are 3-12 MB each. DSLR RAW files are 25-60 MB. The primary factors:

  • Resolution: A 12 MP photo has 4032 × 3024 pixels = 12 million pixels. Each pixel at 24-bit color is 3 bytes, so uncompressed that is 36 MB.
  • Format: JPEG compresses that 36 MB to 3-8 MB. PNG keeps it at 15-25 MB. WebP brings it to 2-5 MB.
  • Quality setting: JPEG quality 95% might be 8 MB; quality 80% drops to 3 MB with negligible visual difference.

PDF Size Reduction Strategies

Strategy 1: Compression

The fastest approach. PDF compression tools re-encode embedded images at lower quality and resolution, remove duplicate resources, and optimize the document structure. Typical results: 40-70% size reduction with minimal visible quality loss.

For specific targets, see our guides on compressing PDFs to under 1 MB and PDFs for email.

Strategy 2: Remove Unnecessary Pages

If the PDF contains pages you do not need to share — instruction pages, blank pages from duplex scanning, appendices — removing them directly reduces file size. Delete the unwanted pages before compressing.

Strategy 3: Split Into Smaller Files

When a single PDF exceeds an upload limit and compression is not enough, split it into parts. A 30 MB report can be split into three 10 MB files — each under a typical email attachment limit.

Strategy 4: Flatten Before Compressing

PDFs with form fields, annotations, and interactive layers carry extra data. Flattening the PDF removes interactive layers, and the subsequent compression step works more efficiently on the simplified file structure.

Strategy 5: Reduce Scan Resolution

If you are scanning documents yourself, 150-200 DPI is sufficient for screen viewing and archival. 300 DPI is only needed for documents that will be reprinted at high quality or processed with OCR. Scanning at 600 DPI (which some scanners default to) produces files 4x larger than 300 DPI with no practical benefit for most use cases.

Image Size Reduction Strategies

Strategy 1: Compress

Image compression reduces file size by adjusting quality settings. For JPEG, dropping from quality 95% to 80% typically cuts file size by 60% with minimal visible difference. For PNG, tools like pngquant reduce the color palette while maintaining visual quality.

Strategy 2: Resize

A 4000 × 3000 pixel photo is 12 megapixels. If you are sharing it via email or messaging, resize to 1600 × 1200 (2 megapixels) — the file drops to roughly 1/6 the size, and the image still looks sharp on any screen.

Strategy 3: Convert to a More Efficient Format

Format conversion can dramatically reduce size:

  • PNG screenshot → WebP: typically 50-70% smaller
  • BMP → JPEG: 90-95% smaller
  • TIFF → JPEG: 85-95% smaller
  • HEIC → JPEG (when needed for compatibility): similar size, use HEIC to JPG converter

Email Attachment Limits

ServiceAttachment LimitWorkaround
Gmail25 MBAutomatic Google Drive link for larger files
Outlook.com20 MBOneDrive link for larger files
Corporate Exchange10-25 MB (varies)SharePoint or shared drive
Yahoo Mail25 MBN/A
iCloud Mail20 MBMail Drop (up to 5 GB)

When compression alone is not enough, split the document or use a file sharing service (Google Drive, Dropbox, WeTransfer) and send a link instead.

Upload Limits for Common Services

PlatformTypical LimitNotes
Government forms1-5 MBOften strict, no workaround
Job application portals2-10 MBPer-file limit
University submissions5-20 MBVaries by institution
WhatsApp documents100 MBCompresses if larger
Slack1 GB (paid)Free tier has storage limits

Quick Decision Guide

When you need to reduce a file to meet a specific limit:

  1. Try compression first. This is the fastest and least disruptive option — compress PDFs or compress images.
  2. If still too large, remove content. Delete unnecessary pages from PDFs or resize images to a smaller resolution.
  3. If still too large, change format. Convert PNG to WebP or JPEG. Convert scanned PDFs to lower DPI.
  4. If still too large, split. Break the file into smaller parts and send or upload separately.
  5. Last resort: share a link. Upload to a cloud service and share the link instead of the file.

Preventing Large Files in the First Place

  • Scan at appropriate resolution. 150-200 DPI for screen viewing, 300 DPI for OCR and reprinting. Never 600 DPI unless you have a specific reason.
  • Use the right camera settings. Most phone cameras default to maximum resolution. For documents you plan to share, standard mode is sufficient — you do not need 48 MP photos of receipts.
  • Choose JPEG over PNG for photos. Screenshots and diagrams belong in PNG; photos belong in JPEG. The wrong format for photos can mean a 5x larger file.
  • Compress before archiving. Run compression before storing files long-term. A library of 1000 uncompressed PDFs that could be 2 GB might compress to 500 MB — significant cloud storage savings over years.

Related Articles