Image Optimization Guide (2026)

What actually changes an image’s file size, and which free browser tool matches the job.

An image gets smaller for three reasons: fewer pixels, a format that fits the picture, or a lower quality setting. This guide stays with those three. EasyPDFHub does not offer AI compression, AVIF export, or a server batch queue.

JPEG, PNG, WebP, and HEIC

JPEG is the usual choice for photographs and for forms that say JPG. It has no transparency. Lowering the quality makes the file smaller and the picture softer.

PNG is lossless and can keep a transparent background. Logos and screenshots stay sharp, and the file is often larger than a JPEG of the same photo. Converting a PNG logo to JPEG fills the transparent areas.

WebP is widely supported in browsers and is often smaller than JPEG or PNG. Some desktop apps and upload forms still reject it. If a file will not open, use WebP to JPG or WebP to PNG when you need to keep transparency. The WebP won’t open guide covers that case.

iPhones often save HEIC. Windows and many forms do not open it. Convert with HEIC to JPG, which decodes the photo in the browser and saves a JPG at about 92% quality. The HEIC to JPG on iPhone guide lists the other options, including a setting on the phone.

Shrink a photo you already have

Open the image compressor. It accepts JPG, PNG, and WebP. The slider starts at 80%. For a photograph, that is usually enough to cut the file with little visible change. Move it down only if you still need a smaller file, and look at the preview before you download.

PNG often barely shrinks, because the format is lossless. Convert it to JPG with the image converter when you do not need transparency, then compress. The how to compress images guide walks through the same slider in more detail.

The compressor does not aim at a named size. If a form says 20KB, 50KB, or 100KB, use resize image to KB, which shows the byte count. A quality slider cannot promise those numbers.

Change the pixel size first

A 4000-pixel-wide photo is wasted on a page that displays it at 800 pixels. Fewer pixels remove more bytes than a small quality change. The image resizer takes a width and height, or a preset such as 1080 × 1080. Keep the original proportions or the picture stretches. Making an image larger than its original pixels does not add detail.

Resize, then compress. The other way around spends bytes on detail you are about to throw away.

What this site does not do

There is no AVIF converter, no batch processor that runs on a server, and no “AI” compressor that claims a fixed percentage reduction. The image tools page lists the tools that exist. Every one of them keeps the file on your device.

Image optimization FAQ

Does EasyPDFHub compress images with AI?

No. The image compressor is a quality slider for JPG, PNG, and WebP. It runs in your browser. There is no neural-network compressor on this site.

Can I export AVIF here?

No. The converter handles JPG, PNG, and WebP. HEIC and HEIF photos use the HEIC to JPG tool. There is no AVIF tool.

Are images uploaded while I follow this guide?

No. The compressor, converter, resizer, and HEIC tool process the file in your browser. The image never leaves your device.