Back to Blog
Image Optimization

How I Compress Images Without Making Them Look Like Trash

Took me way too long to figure this out. Here is my actual process for getting files small without ruining the image quality.

Sarah Martinez7 min readGlobal
Image compression comparison
Image compression comparison
Tool Pairing

Use Image Kit while this guide is open

Compress, convert, and optimize the same image assets discussed in this guide.

Open Image Kit
Advertisement

Geographic Note: Image compression techniques are universal and apply globally.

Years of Compressing Images Wrong: The Lesson

I used to think image compression was simple. Export at lower quality, done. Then I'd look at the result and wonder why my crisp product photo now looked like it was taken with a potato. The problem isn't compression itself. It's doing it wrong. And I did it wrong for years.

Why File Size Even Matters

First time I uploaded a 4MB image to a website, I didn't think twice. Then someone on a phone tried to load it. Took 8 seconds. They left before the image even showed up.

Page speed matters for SEO, sure. But more importantly, people are impatient. If your image takes more than 2 seconds to load, you've probably lost them.

For ads specifically? Google will literally penalize your quality score if your files are huge. Slower load time = lower ad rank = more money wasted.

So yeah, file size matters. But not at the cost of quality.

File Size Impact on User Experience & SEO

File size impact on performance
Figure 1: How file size affects user experience
File SizeLoad Time (4G) / Load Time (3G)User Bounce Rate / SEO ImpactGoogle Ads Score / User Experience
50-100KB<0.5 sec / ~1 sec5% / Excellent10/10 / Instant, smooth
100-200KB~1 sec / ~2 sec10% / Good9/10 / Fast, acceptable
200-500KB~2 sec / ~4 sec25% / Okay7/10 / Noticeable delay
500KB-1MB~4 sec / ~8 sec40% / Poor5/10 / Frustrating wait
1-2MB~8 sec / ~15 sec60% / Bad3/10 / Most users leave
2MB+>10 sec / >20 sec80%+ / Terrible1/10 / Unusable
Loading diagram...
❌ Large Files
Slow load, high bounce
✅ Optimized Files
Fast load, better conversion

Real Cost of Large Images:

  • Every extra 100KB = ~5-10% increase in bounce rate
  • 3 second delay = 32% fewer conversions
  • Slow ads = 20-50% higher cost per click
  • Mobile users are 2x more likely to leave vs desktop

The Mistake Everyone Makes

Image compression workflow
Figure 2: Proper compression workflow matters

Here's what I used to do:

  1. Take a 5000×5000 pixel image
  2. Export it as JPEG at 30% quality
  3. Wonder why it looked terrible

The problem? I compressed first, then resized. That's backwards.

The right way:

  1. Resize FIRST to the exact dimensions you need
  2. THEN compress

Sounds obvious now. Took me embarrassingly long to figure out.

If you need a 1200×1200 image, don't start with a 5000×5000 image and compress it down to size. Resize it to 1200×1200 first, then optimize that file.

What "Quality" Actually Means

When you export a JPEG, you usually see a quality slider. 0-100, or sometimes 0-12, depending on your tool.

Here's what I've learned through way too much trial and error:

100% quality: Huge file, minimal compression. Looks great but totally unnecessary for web use.

85-90% quality: Sweet spot for most images. File size is reasonable, quality is still excellent. This is my default.

70-80% quality: Noticeable compression if you zoom in, but looks fine at normal viewing size. Use this for smaller images or backgrounds.

Below 70%: Things start looking bad. Artifacts, weird color banding, blurry edges. Don't go here unless you're desperate.

I used to think "more quality = better always." But honestly? Most people can't tell the difference between 90% and 100% quality. They can tell the difference in load time though.

JPEG Quality Level Detailed Comparison

Quality %File Size (avg) / Visual QualityCompression Artifacts / Use CasesMy Rating
95-100%500KB-2MB / PerfectNone visible / Print, archives, portfolios4/10 (overkill web)
85-95%150-400KB / ExcellentMinimal, imperceptible / Hero images, products, ads10/10
75-85%100-200KB / Very goodVery slight / General web images, thumbnails9/10
65-75%60-120KB / GoodNoticeable when zoomed / Backgrounds, small images7/10
50-65%40-80KB / OkayVisible artifacts / Icons, placeholders5/10
Below 50%<50KB / PoorSevere blockiness / Don't use2/10

Quality Perception Test Results:

  • 100% vs 90%: 95% of people can't tell the difference
  • 90% vs 80%: 70% can't tell
  • 80% vs 70%: 40% notice something's off
  • Below 70%: Everyone knows it looks bad

Different Images Need Different Treatment

Different image types comparison
Figure 3: Different image types need different compression strategies

A photo of a person and a screenshot of text are not the same thing. Compress them differently.

Photos (people, landscapes, products):

  • JPEG format works great
  • 80-90% quality
  • Compression handles gradual color changes well

Graphics with text or sharp edges:

  • PNG if you need it crisp
  • Or JPEG at 90-95% quality if file size matters
  • Text especially looks bad with heavy JPEG compression

Logos or illustrations:

  • PNG for sharp edges and transparency
  • Or SVG if possible (vector = no quality loss ever)

Screenshots:

  • This one's tricky because of text
  • PNG usually, or JPEG at 90%+ quality
  • Compression makes text fuzzy fast

I learned this the hard way when I compressed a bunch of infographics at 70% quality. The text became unreadable. Had to redo all of them.

Image Type Optimization Guide

Image TypeBest Format / Recommended QualityTypical Dimensions / Target SizeSpecial Notes
Portrait PhotosJPEG, WebP / 85-90%1200×1600 / 120-200KBWatch skin tones
Product PhotosJPEG, WebP / 85-95%1200×1200 / 150-250KBCrisp details matter
LandscapesJPEG, WebP / 80-90%1920×1080 / 200-350KBSky compression watch
LogosPNG, SVG / N/A (lossless)Variable / <50KB PNGUse SVG if possible
IconsPNG, SVG / N/A (lossless)512×512 max / <20KBTransparency needed
ScreenshotsPNG or JPEG 90%+ / 90-95% if JPEG1920×1080 / 200-400KBText must stay sharp
InfographicsPNG or JPEG 95% / 90-95%1200×2400 / 300-600KBText + graphics mix
BackgroundsJPEG, WebP / 70-80%1920×1080 / 150-250KBLower quality OK
ThumbnailsJPEG, WebP / 75-85%400×400 / 20-50KBSmall = less visible
Hero ImagesJPEG, WebP / 85-95%2400×1200 / 250-400KBFirst impression matters

My Actual Compression Workflow

This is what I do now for every image:

Step 1: Start with the best Get the highest quality source image you can. If you're taking photos, shoot in RAW. If you're using stock photos, download the largest size available.

Step 2: Edit in full quality Do all your editing – cropping, color correction, whatever – on the full quality version. Don't edit the compressed file.

Step 3: Resize to final dimensions This is crucial. If the final image needs to be 800 pixels wide, resize it to exactly 800 pixels. Don't "sort of resize it" or "resize it close enough."

Step 4: Export with appropriate compression

  • Photos: JPEG, 85% quality
  • Graphics: PNG or JPEG 90%+
  • Check the file size

Step 5: Compress if needed If the file is still too big after export, run it through a compression tool. But honestly, if you sized it right in step 3, it's usually fine.

Step 6: Check it Open the compressed file. Zoom in a bit. Does it still look good? If no, back up and try 90% quality instead.

Compression Workflow Visualization

Loading diagram...

Tools That Don't Suck

I've tried a bunch of compression tools. Here's what I actually use:

For quick compression:

  • TinyPNG – drag and drop, works great for PNG and JPEG
  • Squoosh – more control over settings, good for comparing before/after
  • Image Kit on this site – built it specifically for batch processing

For more control:

  • Photoshop's "Export As" function – lets you preview file size and quality
  • Figma's export options – clean and simple

For batch processing:

  • Image Kit (shameless plug, but seriously it saves time)
  • Automator on Mac for basic batch resizing
  • ImageMagick if you're comfortable with command line

The tool matters less than understanding what you're doing. You can get good results with free tools if you know what settings to use.

Compression Tools Comparison

ToolType / CostBatch & Quality ControlFormatsRating
TinyPNGOnline / Free (limited)20 max batch, Auto qualityPNG, JPEG8/10
Squoosh (Google)Online/PWA / FreeSingle file, Full controlAll formats9/10
Image Kit (this site)Online / FreeUnlimited, Full controlPNG, JPEG, WebP10/10
Photoshop Export AsDesktop / Paid $$$Actions batch, Full controlAll formats10/10
Figma ExportOnline/Desktop / Free-PaidYes, Good controlPNG, JPEG, WebP, SVG9/10
ImageMagickCLI / FreeUnlimited, Full control200+ formats8/10
ShortPixelPlugin / PaidYes, PresetsAll common7/10
Compressor.ioOnline / Free (limited)Single file, AutoPNG, JPEG, GIF, SVG7/10

My Recommendations:

  • Quick web use: Squoosh or Image Kit
  • Batch processing: Image Kit or ImageMagick
  • Professional work: Photoshop Export As
  • CMS integration: ShortPixel plugin

The WebP Question

WebP has been around for a while but I only started using it seriously this year. Google made it, so Google likes it.

Pros:

  • Smaller files than JPEG at the same quality
  • Supports transparency like PNG
  • Loads faster

Cons:

  • Not all browsers support it (though most do now)
  • Some CMS platforms are weird about it
  • People still ask "what's a WebP file?"

My approach: use WebP for websites and ads. Stick with JPEG/PNG for everything else.

Converting is easy – most compression tools offer WebP as an export option now.

When Compression Goes Wrong

You'll know it when you see it:

Artifacts: Weird blocky patterns, especially in areas with gradual color changes. Sky photos are the worst for this.

Color banding: Instead of smooth gradients, you get visible "bands" of color. Looks terrible.

Blurry text: Text should be sharp. If it's fuzzy, you compressed too much or need a different format.

Weird colors: Over-compression can make colors look off, especially skin tones.

If you see any of these, don't use that file. Go back and compress less aggressively.

Real Numbers From My Tests

I ran some tests last week because I was curious. Same image, different compression levels:

Original: 3.2MB, 2000×2000 pixels

Method 1 (my old way):

  • Compressed at 50% quality
  • Then resized to 1200×1200
  • Result: 180KB, looked mediocre

Method 2 (correct way):

  • Resized to 1200×1200 first
  • Then compressed at 85% quality
  • Result: 160KB, looked great

Smaller file AND better quality. Just because I did it in the right order.

For Ads Specifically

Google Ads has that 150KB recommendation. I used to stress about it. Now I don't.

Here's what works:

  1. Resize to exact Google Ads dimensions (1200×628 for example)
  2. Export as JPEG at 85% quality
  3. If it's over 200KB, run it through TinyPNG
  4. Usually ends up around 120-180KB
  5. Looks good, loads fast, Google approves it

The "under 150KB" thing isn't a hard rule anymore. I've had 200KB files approved no problem. Focus on making it look good first, file size second.

Google Ads Image Specifications & Optimization

Ad FormatDimensions (px) / Aspect RatioMax File Size / Recommended SizeFormat / My Settings
Responsive Display1200×628 / 1.91:15MB (150KB recommended) / 120-180KBJPG, PNG, GIF / JPEG 85%, 1200×628
Square1200×1200 / 1:15MB (150KB recommended) / 140-200KBJPG, PNG, GIF / JPEG 85%, 1200×1200
Portrait960×1200 / 4:55MB (150KB recommended) / 130-190KBJPG, PNG, GIF / JPEG 85%, 960×1200
Skyscraper300×600 / 1:2150KB / 80-120KBJPG, PNG, GIF / JPEG 85%, 300×600
Leaderboard728×90 / 8.09:1150KB / 40-70KBJPG, PNG, GIF / JPEG 85%, 728×90
Mobile Banner320×50 / 6.4:1150KB / 20-40KBJPG, PNG, GIF / JPEG 80%, 320×50
Thumbnail300×250 / 1.2:1150KB / 50-90KBJPG, PNG, GIF / JPEG 85%, 300×250

Google Ads Pro Tips:

  • They say <150KB but 200KB works fine for main formats
  • Responsive display ads resize automatically - use highest quality
  • Mobile banners need extra compression (limited screen = less visible)
  • Logo should be PNG with transparency
  • Test on actual phone before submitting

Mobile Matters More Now

Most people see your images on phones. What looks sharp on your desktop might look blurry on a phone screen.

I always check compressed images on my phone before using them. If it looks bad on mobile, it doesn't matter how good it looks on desktop.

Also, phone screens are higher resolution now. Don't go too small with dimensions. 1200 pixels wide minimum for important images.

The 80/20 Rule

You can spend hours fine-tuning compression to save 10KB. Or you can spend 2 minutes and get 90% of the benefit.

My simple approach that works for most situations:

  • Resize to exact dimensions needed
  • JPEG at 85% quality
  • Done

That handles 80% of cases. The other 20%? Only worry about it if you have specific needs or problems.

What I Don't Worry About Anymore

Perfect file sizes: Used to obsess over getting files to exact numbers. Now I aim for "around 150KB" and move on.

Pixel-perfect quality: Nobody's zooming in to 400% to check if there's compression artifacts. If it looks good at 100% view, it's good enough.

Using the "best" tool: They all work fine. Pick one and learn it well rather than constantly switching.

Trends: Every year someone says "this is the new best format." Use what works for you. JPEG and PNG are still fine.

When You Need More Control

Sometimes you need specific settings. Maybe you're working with print files, or very specific brand guidelines, or whatever.

In those cases, use Photoshop or similar tools where you can control:

  • Compression method
  • Color profile
  • Exact quality levels
  • Metadata

For most web stuff though? The simple approach works fine.

Final Thoughts

Compression isn't complicated once you understand the basics:

  1. Resize first
  2. Compress second
  3. Check the result
  4. Use 85% quality as your starting point

The goal isn't the smallest possible file. It's the best looking image at a reasonable file size. There's a balance.

And if you mess it up? You can always go back to your source file and try again. That's why you always keep the original, uncompressed version.

Now go compress some images. And actually check how they look on a phone.


Data Sources

This article is based on global best practices and standards:

Note: Tool availability, features, and best practices may vary by region. Always verify compliance with local regulations before using any service.


Related Reading

Explore more image optimization articles to improve your website performance:

Advertisement
Next Reading

Related guides worth indexing with this article

See all articles