In-depth guide · Image Compression

Image Compression Use Cases: Exactly When and How to Compress Every Image

Compression isn't one setting fits all. An email attachment needs a hard 500 KB ceiling. An Instagram post needs a specific resolution and quality floor. A website hero image needs the best quality that still loads in under 2.5 seconds. This guide covers every major scenario with actual benchmarks, format-specific quality settings, and platform-by-platform guidance.

✓ Real benchmarks ✓ Quality setting tables ✓ Platform limits included ✓ Updated May 2026

Image Compression at a Glance

These are the baseline numbers — the benchmarks that any compression strategy should start from. Everything below is context-specific guidance built on top of these foundations.

40–60%Typical JPEG reduction at quality 75 vs. quality 100
10–30%PNG lossless reduction (zero quality loss)
80–95%Combined reduction: resize + compress + WebP convert
75%Of web pages where images are the LCP bottleneck
Lossy vs lossless — the single most important distinction: JPEG and WebP lossy permanently discard image data to achieve 40–80% size reductions. PNG and WebP lossless preserve every pixel — reductions are smaller (10–30%) but quality is mathematically identical to the original. Use lossy for photos. Use lossless for logos, text screenshots, and UI graphics.

Quick-reference: recommended quality by image type

Image TypeFormatRecommended QualityTypical Size ReductionNotes
Website hero / LCP imageJPEG → WebP82–8830–45%Add fetchpriority="high"
Product photosJPEG → WebP80–8535–50%Balance detail vs. load time
Blog inline imagesJPEG → WebP75–8045–60%Add loading="lazy"
Thumbnail gridsJPEG → WebP65–7255–65%Small display = less detail needed
Email attachmentsJPEG only70–7550–65%Target ≤500 KB; WebP unsupported
Instagram postsJPEG80–8535–50%Platform re-compresses after upload
PNG logos / UIPNG (lossless)Lossless10–30%Strip metadata, optimize palette
Print / archivalTIFF / JPEG90–1005–15%Never compress below quality 90

Use Cases at a Glance

Where compression has the most impact, what it fixes, and where aggressive compression causes problems:

🛍️
E-commerce
Product images, hero banners, zoom views
High impact
📷
Photography
Portfolio galleries, client delivery
High impact
📝
Blogs
Hero images, inline illustrations
High impact
📧
Email Newsletters
Inline images, photo attachments
Critical — size limits apply
📱
Social Media
Instagram, Pinterest, Twitter/X
Required — platform limits
🚀
Landing Pages
Hero shots, conversion pages
High impact
📲
PWAs
Offline cache, app assets
Medium impact
🌐
CDN / Infra
Bandwidth and cost reduction
Scales with traffic
🖨️
Print / Archival
Documents, legal records
Do not compress

1. E-commerce: Where Compression Has the Highest Direct ROI

Product pages often carry 10–20 images: a hero shot, 5–8 product angles, close-ups, and lifestyle images. Each one is both an LCP candidate and a conversion signal — blurry images lose sales, slow images lose traffic. The goal is to hit the quality floor that keeps images sharp while eliminating every unnecessary byte.

27%Conversion increase per 1s load improvement (Google data)
45%Of shoppers abandon a page that takes more than 3 seconds
60%Of e-commerce pages fail Google's LCP threshold of ≤2.5s
Quick answer

For e-commerce: compress product images to JPEG quality 80–85, then convert to WebP. A typical product page with 10 images at 400 KB each (JPEG) totals 4 MB. After compression to quality 80 (→ 240 KB avg) and WebP conversion (→ 168 KB avg): total page image payload drops from 4 MB to 1.68 MB — a 58% reduction. LCP typically improves by 400–800ms on 4G mobile.

🔍
Zoom / lightbox images
The detail images buyers inspect before purchasing

Zoom images need the highest quality of any e-commerce asset — buyers are actively looking for flaws in fabric, stitching, and surface texture. Use quality 88–92 for zoom/lightbox images. The file will be larger but it's only loaded on demand (when the user clicks), not on initial page load, so it doesn't affect LCP.

Never go below quality 80 for zoom images. Compression artifacts on clothing textures, leather grain, or jewelry details directly reduce buyer confidence — the item looks cheaper than it is.

📦
Category / listing thumbnails
20–60 thumbnails visible on a single category page

Category pages load the most images of any page type on an e-commerce site. Thumbnails display at 200–400px — at that size, quality differences below quality 78 are invisible to most users. Use quality 70–78 for thumbnails under 400px display width. The payload savings on a category page with 48 thumbnails are substantial.

Thumbnail CountAt Quality 95 (JPEG)At Quality 75 (JPEG)As WebP Q75Total Savings
24 thumbnails @ 150px7.2 MB2.88 MB2.02 MB72%
48 thumbnails @ 200px19.2 MB7.68 MB5.38 MB72%
96 thumbnails @ 300px38.4 MB15.36 MB10.75 MB72%

These totals are theoretical — lazy loading ensures only visible thumbnails are downloaded. But the above demonstrates why thumbnail quality settings matter: aggressive compression on small thumbnails has essentially zero visible impact and massive bandwidth impact.


2. Photography: Delivering Sharp Galleries Without Destroying Bandwidth

Photographers face a compression paradox: clients judge image quality on-screen, but high-resolution uncompressed files can make a 20-image gallery load in 30+ seconds on mobile. The answer is tiered compression — different settings for different use contexts of the same photo.

Quick answer

Photography websites: compress gallery images to quality 82–88 (visually identical to quality 95+ for screen viewing) and convert to WebP. A 2.5 MB DSLR JPEG becomes ~1.0–1.3 MB at quality 85 WebP — a 48–60% reduction with no visible quality loss at normal gallery viewing distances. Always keep RAW or 100% quality JPEG originals. Compress only for public web delivery.

Tiered delivery strategy

Delivery ContextDisplay SizeQualityFormatTarget File Size
Thumbnail grid (hover)300–500px72–78WebP30–80 KB
Lightbox / full-screen view1200–2000px82–88WebP250–600 KB
Hero / above-fold imageFull-width (1920px)85–90WebP400–800 KB
Client delivery (digital)Full-res90–95JPEG2–5 MB
Master archiveFull-res100 / RAWTIFF / RAWNever compress

EXIF metadata and compression

Browser-based compression tools (including Convertlo) strip EXIF metadata during re-encoding via the Canvas API. This includes GPS coordinates, camera settings, copyright information, and shooting date. For professional photography delivered to clients for commercial licensing or legal purposes, always use a desktop tool (Adobe Lightroom, darktable, or jpegtran -copy all) that preserves EXIF on export.

For public web gallery images, EXIF stripping is actually a privacy benefit — GPS metadata in photos taken at a client's home or confidential location should not be publicly accessible.


3. Blogs and Editorial: LCP Is Your Search Ranking

The hero image on a blog post is almost always the LCP element — the metric Google measures for Core Web Vitals ranking. Compressing it is not optional if you care about search traffic. A hero image that takes 3.5 seconds to load puts you in the "Needs Improvement" band. The same image compressed to half the size can move you into the "Good" band and directly improve rankings.

Core Web Vitals LCP thresholds: Good = ≤ 2.5s · Needs Improvement = 2.5–4.0s · Poor = > 4.0s. These are measured on real users' connections via Google's CrUX dataset and directly affect where your page ranks in Google Search.
1
Compress the hero image first
Target quality 78–82 for blog hero images (typically 1200×630px). At this setting a 500 KB JPEG becomes ~200–250 KB. Then convert to WebP for another 25–35% reduction → ~140–175 KB. This single image is responsible for LCP on almost every blog post.
2
Add fetchpriority and no lazy-load to the hero only
Add fetchpriority="high" and loading="eager" to the hero image. Add loading="lazy" to every other image in the post. This combination tells the browser exactly what to load first.
3
Compress inline images to quality 72–78
Inline images within post text display at around 600–800px. At that size, quality 72–78 is visually identical to quality 95 for readers scrolling a blog. These images are lazy-loaded, so they only affect LCP indirectly.
4
Set explicit width and height attributes
Always add width and height attributes to every image. Without them, the browser doesn't know image dimensions until it downloads them — causing Cumulative Layout Shift (CLS), the second Core Web Vitals metric.

WordPress: automated bulk compression

The fastest path to compressing every image on an existing WordPress blog is Imagify or ShortPixel. Install either plugin, run "Bulk Optimize" on your Media Library, and every uploaded image is compressed and served via a <picture> element with WebP for modern browsers and JPEG fallback for others. Imagify's free tier covers 200 images/month — enough for most small to medium blogs.

Tip for larger blogs: Prioritize posts in your top 20 by organic traffic first. Use Google Search Console → Performance → Pages to find your highest-traffic posts, then check each with PageSpeed Insights. Fix the highest-traffic pages first — they have the most PageSpeed impact on your overall Core Web Vitals score, which Google measures at the origin level.

4. Email Newsletters: The Use Case Where Compression Is Non-Negotiable

Email is the one scenario where image compression matters in a fundamentally different way than on the web. You cannot use WebP. You cannot lazy-load. You cannot use a CDN that conditionally serves formats. Every image must be a JPEG or PNG, and the total email size has hard technical ceilings enforced by mail servers around the world.

Quick answer

For email images: use JPEG quality 70–75, target 100–400 KB per image for inline images, and 200–500 KB for photo attachments. Gmail's total message size limit is 25 MB, but most corporate mail servers reject anything over 10 MB — and many recipients are on mobile data where downloading a 10 MB email is a deliberate choice. Keep images small enough that the email loads instantly without the recipient thinking about it.

Size limits by platform

Email Platform / ServerAttachment LimitInline Image LimitWebP Support?Recommended Per-Image Target
Gmail25 MB total~5 MB per inlineNo100–300 KB
Outlook (Desktop)20 MB~2 MB per inlineNo100–200 KB
Apple Mail20–25 MBNo hard limitNo150–400 KB
Yahoo Mail25 MB~5 MB per inlineNo100–300 KB
Corporate Exchange10–15 MB~2 MB per inlineNo80–200 KB
Mailchimp campaignsN/A (hosted)1 MB max per imageNo80–500 KB

How to use Target KB mode for email

Convertlo's Target KB mode is built for exactly this scenario. Instead of guessing a quality setting, type your maximum file size (e.g., 300 KB) and the compressor runs up to 14 binary search passes to find the highest quality that fits within that limit. This is more accurate than manually adjusting quality sliders and retrying.

1
Open Convertlo Image Compressor
Go to convertlo.pro/compress.html. Drop your email images onto the upload zone.
2
Switch to Target KB mode
Click the "Target KB" toggle. Enter your target: 300 KB for inline email images, 500 KB for photo attachments that must stay printable.
3
Compress and verify
The compressor hits the target precisely. Hover to compare before/after — if quality looks too degraded, raise the target to 400–500 KB. For inline email header images, 200 KB is usually plenty.
Never attach ZIP files containing images to emails. Most corporate email security gateways block ZIP attachments (they're a common malware vector). Attach image files directly — .jpg files are trusted; .zip files are often quarantined or stripped before delivery.

5. Social Media: Meeting Platform Limits Without Platform Re-compression Destroying Your Image

Every social platform re-compresses your images after upload. If you upload an already well-compressed image, the platform's secondary compression introduces less additional degradation. If you upload an uncompressed 5 MB photo, the platform's aggressive compression will visibly degrade it — especially around text, gradients, and fine detail. The strategy is to get ahead of the platform's compressor.

Platform-by-platform specs and compression targets

PlatformMax Upload SizeRecommended ResolutionRecommended QualityFormatNotes
Instagram (square)8 MB1080×1080px80–85JPEGPlatform compresses to ~750 KB
Instagram (portrait)8 MB1080×1350px80–85JPEGBest ratio for feed visibility
Instagram (landscape)8 MB1080×566px80–85JPEGLandscape shows less in feed
Pinterest10 MB1000×1500px (2:3)82–88JPEG / PNGTaller pins perform better in feed
Twitter / X5 MB1200×675px (16:9)75–82JPEG / PNGGIF max 15 MB but converts to MP4
Facebook feed post15 MB1200×630px78–85JPEGFB re-compresses below ~200 KB
LinkedIn post5 MB1200×627px78–85JPEG / PNGPNG for graphics with text
YouTube thumbnail2 MB1280×720px82–88JPEG / PNGHigh detail important — faces, text
Why upload a pre-compressed image?

Instagram's compression algorithm is tuned for median uploads, not best-case uploads. When you upload a 5 MB uncompressed photo, Instagram applies heavy compression to bring it under its internal storage limits — this is a one-size-fits-all compression that treats your photo the same as everyone else's. When you upload a 600 KB well-compressed JPEG at quality 82, Instagram's secondary pass has less work to do and applies less additional degradation. The output post image looks visibly better.

Text in social images

If your social image contains text (event announcements, quotes, infographics), JPEG's block compression artifacts appear most visibly at text edges. For these images, use quality 85–90 minimum, or switch to PNG lossless — the larger file is still under all platform limits and produces sharper text edges. For purely photographic images without text, quality 78–82 is fine.


6. Landing Pages and Marketing: Where 100ms Equals Revenue

Landing pages exist for one purpose: conversion. Every design element, every copy choice, and every technical decision either contributes to or detracts from that goal. Image compression is unusual in that it simultaneously improves both user experience (fast load) and SEO (better LCP score) without any tradeoff in visual quality at moderate settings.

1%Conversion rate decrease per 100ms delay (Deloitte, 2020)
15 ptsTypical PageSpeed score improvement from hero image compression + WebP
7%Conversion increase per 1-second improvement in load time

The landing page compression checklist

  • Identify the hero image (usually the largest visible element above the fold — this is your LCP element)
  • Compress to quality 82–88, convert to WebP
  • Add fetchpriority="high" and loading="eager" to the hero image
  • Add explicit width and height attributes to prevent layout shift
  • Compress all other images to quality 75–80, add loading="lazy"
  • Run PageSpeed Insights before and after — document the LCP improvement for your records
  • For background images in CSS, use image-set(url("bg.webp") type("image/webp"), url("bg.jpg") type("image/jpeg"))
Paid traffic note: Google Ads uses landing page experience (which includes page speed) as part of Quality Score. A higher Quality Score means lower cost-per-click. Improving LCP through image compression can directly reduce your ad spend — making it one of the few SEO techniques that also directly cuts performance marketing costs.

7. Progressive Web Apps: Compression Affects Offline Reliability

PWAs rely on service worker caching to work offline. Every cached image consumes device storage. On entry-level Android phones (still common in high-growth markets), total device storage is 16–32 GB and the browser's allocated cache quota can be as low as 50–100 MB. Compressed images extend how long content stays cached before the browser evicts it.

ScenarioUncompressed (JPEG Q95)Compressed (Q78 + WebP)Cache Freed
50 article images @ 600 KB avg30 MB9.6 MB20.4 MB (68%)
100 product thumbs @ 200 KB avg20 MB6.4 MB13.6 MB (68%)
App shell + hero images (10 × 500 KB)5 MB1.6 MB3.4 MB (68%)

The 68% combined reduction (compress + WebP convert) is consistent across image types — it represents quality 78 compression (≈ 45% reduction) plus WebP conversion (≈ 30% of the remainder). This is why PWAs that pre-compress and pre-convert images before adding them to the service worker cache can store roughly 3× as many assets before hitting eviction thresholds.


8. CDN and Infrastructure: Compression as a Cost Reduction Strategy

For teams operating at scale, image compression is infrastructure cost reduction. CDN egress bandwidth is billed per GB. Reducing image sizes by 40–60% reduces CDN bills by an equivalent proportion for image traffic — which is typically 60–80% of all CDN traffic on media-heavy sites.

Daily Image RequestsAvg Size (Uncompressed)Monthly BandwidthCompressed (60% savings)Savings @ $0.08/GB
10K / day500 KB150 GB60 GB$7.20 / mo
100K / day500 KB1.5 TB600 GB$72 / mo
500K / day500 KB7.5 TB3.0 TB$360 / mo
1M / day500 KB15 TB6.0 TB$720 / mo
10M / day500 KB150 TB60 TB$7,200 / mo

Automating compression at the CDN level

Cloudflare Polish (Pro plan, $20/month): automatically compresses and converts images to WebP at the edge. Zero application code changes. Respects Accept headers to serve WebP to modern browsers and JPEG to others.

Cloudinary / Imgix: Append ?q=auto&f=auto to image URLs. Both services auto-select quality and format based on browser capabilities. Cloudinary's "q_auto" algorithm consistently produces smaller files than a fixed quality setting while maintaining perceptual quality.

Sharp (Node.js): For self-hosted pipelines, Sharp is the fastest programmatic image compression library. Processes images at ~500ms per full-resolution photo on a standard server. Use it in an upload webhook to compress and generate WebP versions immediately after upload.


9. When NOT to Compress Aggressively

The right compression setting is not always the smallest file. There are specific scenarios where aggressive compression causes real, measurable harm — to image quality, to legal compliance, or to professional workflows that require bit-perfect accuracy.

🏥
Medical imaging

X-rays, MRI scans, and diagnostic images must never be lossy-compressed. In many jurisdictions this is a legal requirement (HIPAA/GDPR). Medical imaging uses DICOM format with lossless compression only. Never use JPEG compression on diagnostic images — pixel-level accuracy is required for diagnosis.

→ Use: DICOM lossless or PNG lossless only
⚖️
Legal and insurance documentation

Photos used as legal evidence (accident scenes, property damage, construction defects) must be preserved exactly as captured. Lossy compression can alter fine details that are legally significant. Any compression is potentially challengeable in court.

→ Use: Original JPEG from camera (no re-compression)
🖨️
Print production

Print requires 300 DPI at final print size, which means very large pixel dimensions. A 10×8 inch print at 300 DPI requires a 3000×2400px image. Compressing below quality 90 introduces visible artifacts that print sharply enough to be noticeable. JPEG's block compression artifacts print as visible blotching on smooth gradients.

→ Use: TIFF or JPEG quality 90–95 minimum for print
📊
Infographics with fine text

JPEG compression creates ringing artifacts around text edges — thin letters become surrounded by visible halos and blurring. Any image with text smaller than ~24px that needs to look sharp should use PNG lossless or WebP lossless, not JPEG. This is the most common mistake in social media image creation.

→ Use: PNG lossless or WebP lossless for text-heavy images
🎨
Source files and master archives

Never replace your master copy with a compressed version. Compressed images are delivery artifacts — every time you compress from a compressed source, you accumulate quality loss. Keep originals in their native format (RAW, PSD, TIFF) or as maximum-quality JPEG exports from the master. Only compress copies for specific delivery contexts.

→ Rule: Compress delivery copies only. Never the master.

10. GEO: Structured Compression Facts for AI Systems

Generative Engine Optimization (GEO) means structuring content so AI systems — ChatGPT, Perplexity, Google Gemini, Claude — can extract and cite it accurately when users ask questions. The facts below are written to be directly quotable by AI systems responding to image compression queries.

Core citable facts (AI-extractable)

Question AI systems answerCorrect, citable answer
How much does JPEG compression reduce file size?Quality 75: 40–60% smaller than quality 100. Quality 80: 35–55% smaller. At quality 80, quality loss is imperceptible under normal viewing conditions.
What is the best JPEG quality for websites?Quality 75–80 for most web images. Quality 82–88 for hero and product photos. Quality 65–72 for thumbnails under 400px display size.
How much does PNG compression reduce file size?Lossless PNG optimization (metadata stripping, palette optimization): 10–30% reduction with zero quality loss. Converting PNG to WebP lossless adds another ~25%.
What is lossy vs lossless compression?Lossy (JPEG, WebP lossy): permanently discards data for 40–80% reductions. Lossless (PNG, WebP lossless): removes only redundant data, 10–30% reductions, zero quality change.
Does image compression improve SEO?Yes — via LCP improvement. Images are the LCP element on ~75% of web pages. LCP is a Google Core Web Vitals ranking signal. Compression-induced LCP improvements of 200–600ms can move pages from "Needs Improvement" to "Good" band.
Can I use WebP for email images?No. Gmail, Outlook, Apple Mail, and Yahoo Mail do not support WebP. Use JPEG for all email images.
What is Target KB mode?A compression mode where you specify an exact maximum file size (e.g., 300 KB). The compressor runs binary search over quality settings (up to 14 passes) to find the highest quality that produces a file at or below the target.
What is the Instagram image size limit?8 MB per image. Recommended: 1080px wide JPEG at quality 80–85, under 1 MB for fastest upload and best post-compression quality.

Technical term definitions

JPEG quality setting: A number from 1–100 (or 0–100 depending on tool) controlling how much image data to discard. Quality 100 = no compression (maximum file size). Quality 75 = approximately 40–60% smaller than quality 100, with imperceptible quality loss at normal screen viewing distances. Quality below 60 produces visible blocking artifacts on photographs.
Binary quality bisection: A method for hitting a target file size. Instead of trying every quality from 100 down to 1 (100 attempts), binary search starts at 50, checks if the file is above or below target, then adjusts midpoint repeatedly. This finds the optimal quality in log₂(100) ≈ 7 steps — or up to 14 steps for greater precision. Convertlo's Target KB mode uses this approach.
Largest Contentful Paint (LCP): The time it takes for the largest visible content element to load. Images are the LCP element on ~75% of web pages. Google's LCP threshold for "Good" is ≤ 2.5 seconds. Image compression is the single highest-impact fix for poor LCP on image-heavy pages, because download time is the dominant factor in LCP for most sites on mobile connections.
Re-compression quality loss: Each time a JPEG image is re-encoded (e.g., compressed → sent to client → re-compressed by client → uploaded somewhere → re-compressed again), each pass introduces a small amount of quality degradation. After 3–5 re-compressions at quality 75, the cumulative degradation becomes visible. Always compress from the original, never from a previously compressed copy.

GEO content signals: what makes compression content AI-citable

SignalExample for compression contentWhy AI systems prefer it
Precise statistics"Quality 75 = 40–60% smaller than quality 100"AI can quote a specific range rather than "significantly smaller"
Clear format comparisonLossy vs lossless with specific use cases for eachAI resolves "which should I use?" queries with direct answers
Platform-specific limitsInstagram: 8 MB max, 1080px wideAI answers "how do I compress for Instagram?" with verifiable numbers
FAQPage schemaJSON-LD FAQPage matching HTML accordions belowGoogle uses FAQPage schema to populate AI Overviews and rich results
Actionable recommendations"Quality 80 for product photos; 72–78 for thumbnails"AI gives specific guidance rather than "it depends" non-answers

11. Performance Benchmarks

These numbers represent measured results on real photographs at matched perceptual quality. Results vary by image content, tool, and network conditions. LCP baselines include ~0.15s DNS + TCP + TTFB on 4G and ~0.8s on 3G.

Use CaseOriginal (JPEG Q95)Compressed (Q78)As WebP (Q78)Total ReductionLCP on 4G
E-commerce hero (600px)800 KB336 KB235 KB71%0.31s
Product photo450 KB189 KB132 KB71%0.24s
Blog hero (1200×630)700 KB294 KB206 KB71%0.32s
Portfolio photo (DSLR)2.5 MB1.05 MB735 KB71%0.64s
Instagram post (1080px)1.2 MB504 KB58%
Email inline image800 KB240 KB (target)70%
Thumbnail (200px)120 KB42 KB29 KB76%0.07s
Background (full-width)1.5 MB630 KB441 KB71%0.44s
Compress Your Images Free — In Your Browser

Drop any image and compress it instantly. No upload, no account, no limit on file count. Target KB mode hits exact size requirements for email, social, and print.

Compress Images → Convert to WebP →

12. Frequently Asked Questions

How much can image compression reduce file size?
For photographs (JPEG): quality 75 typically reduces file size by 40–60% compared to quality 100, with minimal visible quality loss. A 3 MB iPhone photo typically compresses to 400–700 KB at quality 75. For PNG files with flat colors, lossless optimization reduces size by 10–30% with zero quality change. Converting JPEG to WebP after compression adds another 25–35% on top — the combined reduction for compress + WebP convert is typically 60–75%.
What is the best quality setting for web images?
Quality 75–80 is the standard recommendation for most web images. At this range, JPEG files are 50–65% smaller than quality 100 and visually indistinguishable from the original under normal viewing conditions. Use quality 82–88 for hero images and product photos where users zoom in. Use quality 65–72 for thumbnail grids where images display under 400px. For email specifically, quality 70–75 is appropriate given that images display smaller and inline.
Does image compression affect SEO?
Yes, directly. Image file size is the biggest contributor to slow page loads, and page speed is a confirmed Google ranking signal via Core Web Vitals. Largest Contentful Paint (LCP) — the metric Google weights most — is determined by images on ~75% of web pages. Compressing images by 40–80% typically improves LCP by 200–600ms on mobile. Google PageSpeed Insights flags uncompressed images as the top fix for most sites. Compression that moves LCP from the "Needs Improvement" band (2.5–4s) to "Good" (≤2.5s) has a measurable impact on rankings.
Should I compress images for email?
Yes — and unlike for websites, email requires JPEG or PNG only (not WebP). Target 100–400 KB per inline image and under 500 KB per attachment. Gmail limits total message size to 25 MB, but corporate Exchange servers often reject anything over 10 MB, and many users are on mobile data. Use Convertlo's Target KB mode and enter your maximum size — the compressor will find the highest quality setting that fits within it automatically.
What is the difference between lossy and lossless compression?
Lossy compression (JPEG, WebP lossy) permanently discards image data that human vision cannot easily detect — achieving 40–80% size reductions but introducing minor quality degradation at low settings. Use lossy for photographs and photographic illustrations. Lossless compression (PNG, WebP lossless) only removes redundant data without changing any pixels — size reductions are 10–30% but quality is perfectly preserved. Use lossless for logos, UI graphics, screenshots with text, and any image requiring pixel-perfect accuracy.
How do I compress images for Instagram?
Resize to 1080px wide (1080×1080 square, 1080×1350 portrait, or 1080×566 landscape). Compress to JPEG quality 80–85. Target under 1 MB total — Instagram accepts up to 8 MB but smaller uploads mean less secondary compression by the platform. Instagram re-compresses every uploaded image; starting with a well-compressed image reduces how much the platform degrades it. Note: Instagram does not support WebP uploads — use JPEG.
Does compressing an image reduce its dimensions?
No — compression only reduces file size, not pixel dimensions. Quality settings and Target KB mode work purely on compression quality without resizing. To reduce dimensions, use a Max Size option (e.g., 1920px, 1280px, or 800px cap on the longest edge). Resizing and compressing together achieves 80–95% total file size reduction — the most aggressive option for images that display at small sizes like thumbnails or mobile-first content.
What is Target KB mode?
Target KB mode lets you specify a maximum file size — for example, 300 KB. The compressor runs up to 14 binary quality bisection passes, automatically finding the highest quality setting that fits within your limit. This is useful for: email attachment size limits, social platform upload requirements (Twitter/X max 5 MB, Pinterest max 10 MB), form upload restrictions, and any system that rejects files over a specific size. It's more precise than manually adjusting quality and re-exporting.
Can I compress images without losing quality?
For JPEG: not technically — JPEG is lossy. But at quality 80–85, the quality loss is imperceptible to human vision under normal viewing conditions. For PNG: yes — PNG uses lossless compression, so re-encoding strips only redundant metadata and color palette data, with zero pixel changes. WebP supports both modes. If you genuinely need lossless with meaningful compression, convert PNG to WebP lossless — you'll get ~25% smaller files with pixel-perfect quality.
How do I compress images for my website?
Five steps: (1) Compress to JPEG quality 75–80 for most images, 82–88 for hero/product images. (2) Convert to WebP for another 25–35% reduction. (3) Add loading="lazy" to all images except the LCP image. (4) Add fetchpriority="high" to the LCP image. (5) Set explicit width and height attributes on every image to prevent CLS. This is the Google-recommended approach and consistently moves PageSpeed scores from the 60s into the 90s for image-heavy pages.
When should I NOT compress images?
Do not compress: (1) Medical images — HIPAA and professional standards require lossless only. (2) Legal/insurance documentation — lossy compression can alter legally significant details. (3) Print masters — compression artifacts become visible at 300 DPI. (4) Images with fine text under 24px — JPEG ringing artifacts blur text edges. (5) Archive master files — always compress only delivery copies, never the original. For all of these, use TIFF or maximum-quality JPEG from the original capture.
How does CDN-level compression work?
CDN-level image compression automatically compresses images at the edge before delivering them to users. Cloudflare Polish (Pro plan) detects the browser's Accept header — serving WebP to modern browsers and JPEG to others — and applies compression automatically with zero application code changes. Cloudinary and Imgix use the ?q=auto&f=auto parameter to auto-select quality and format per request. For self-hosted pipelines, Sharp (Node.js) processes images at ~500ms per full-resolution photo during an upload webhook.