Pagivo PDF

Log in

Welcome back. Your document tools are ready when you are.

No account? Sign up

How-to

How to Compress an Image for Email, a Website, or an Upload Form

Modern phone cameras produce images that look stunning on a screen and print beautifully - but they are enormous files. A single photo from a recent iPhone or Android phone is typically 3-8 MB. Email servers complain. Upload forms reject them. Web pages built with uncompressed images load slowly on mobile connections.

Compressing an image reduces the file size, usually without any visible quality difference for the intended use. Here is how it works and how to do it.

Why image files are so large in the first place

Phone cameras have grown from 8 megapixels to 50 megapixels and beyond. A 50-megapixel image is 8,192 x 6,144 pixels. Even with good compression baked into the JPG encoder, that is a lot of colour data. Most photo apps also embed EXIF metadata - GPS coordinates, camera settings, timestamps - and some embed colour profiles that add a few hundred kilobytes.

Lossy vs lossless compression

Two fundamentally different compression approaches exist:

  • Lossy (used by JPG and WebP in quality mode) discards pixel data the eye is unlikely to notice - subtle colour variations, high-frequency detail in flat areas. The trade-off is irreversible: once information is discarded, it cannot be recovered. For photos, a quality setting around 70-85% produces files 50-80% smaller with changes that are invisible on screen.
  • Lossless (used by PNG and WebP in lossless mode) removes redundancy without discarding any pixel data. The image is bit-for-bit identical to the original after compression. The size reduction is smaller - typically 15-40% for photographs - but nothing is lost.

For photographs, lossy compression is almost always the right choice. For screenshots, diagrams, logos, and images with text, lossless PNG is better - lossy compression smears the sharp edges of text and creates visible artifacts around fine lines.

How to compress images with Pagivo

  1. Go to Compress Image on Pagivo.
  2. Upload your image - JPG, PNG, or WebP, up to 700 MB.
  3. Choose a quality level. Lower quality means smaller file size and more visible compression. For most photos: 80% quality is invisible in daily use, 60% is fine for thumbnails and social media, 40% is for small file size only.
  4. Click Process and download. The compressed file downloads automatically.

After downloading, open the image and zoom to 100%. If you see noticeable blurring or colour banding, increase the quality setting and compress again from the original - never re-compress an already-compressed image, as each pass degrades quality further.

Realistic size targets by use case

UseTarget sizeQuality setting
Email attachmentUnder 1 MB70-80%
Upload form (passport, ID, CV)100-500 KB65-75%
Website hero image150-400 KB75-85%
Social media profile photoUnder 200 KB70-80%
Print (magazine quality)Largest possible95%+

When to convert to a different format instead

Sometimes compression alone is not the most efficient approach. WebP typically produces files 25-35% smaller than JPG at the same visual quality. If you are preparing images for a website, converting to WebP with Convert Image can reduce file sizes substantially beyond what JPG compression alone can achieve. Note that older email clients may not display WebP images correctly - for email, stay with JPG.

Try it on Pagivo

How to Compress an Image for Email, a Website, or an Upload Form

Compress my image

Frequently asked questions

Can I compress a PNG without making it blurry?

PNGs can be compressed losslessly - the pixels are preserved exactly. Lossless PNG compression typically reduces file size by 15-40%. If you want a much smaller file, convert to JPG (lossy), but that trades file size for slight quality loss. For screenshots and text images, stay with PNG lossless.

How do I know if my compression went too far?

Open the compressed image at 100% zoom and look at areas with fine detail: fabric texture, hair, text, and gradients. Blocky patches, colour banding, or blurring around edges indicate over-compression. Reduce the lossy quality setting and recompress from the original file.

Is it safe to compress a photo multiple times?

No. Each lossy compression pass discards more pixel data. Re-compressing an already-compressed JPG degrades quality further with little additional size reduction. Always compress from the original file - keep a copy of the original before compressing.

What is the difference between compressing an image and resizing it?

Compression reduces file size while keeping the same pixel dimensions - the image occupies the same space on screen. Resizing reduces the actual pixel dimensions (width and height). Both reduce file size: resizing reduces it proportional to the square of the scaling factor; compression reduces it through encoding efficiency. For a form that specifies a maximum pixel size and file size, you may need both.

More articles