In a world without privacy, we create it.

Veldrinby CounterCustody
Download on the App StoreDownload on the App Store
Scan to download VELDRIN on the App Store.
TL;DRWant the short version? Click here.
The problem
Private files sit in a camera roll anyone can scroll, an album anyone can open, or a cloud you don't control.
The fix
Veldrin keeps them in a pattern-locked vault on your iPhone. No account, no vault list, and a red emergency button for when you're pressed to open it.
In short
Truly lossless compression rarely shrinks a photo much.

Why you need this

A photo worth keeping at full quality is a photo worth protecting at full quality. Compressing a copy to share is fine, but the original should be kept safe, not left in a gallery anyone can open. Veldrin holds your full-size originals in an encrypted vault on your iPhone, behind a pattern, with an encrypted local backup if you want one. Keep the best version safe. The app is there when you are ready.

Tool · 4 min read

How to compress an image without losing quality

Strictly lossless compression saves only a little on a photograph. To get a much smaller file that looks unchanged, cut the pixels you don't need and save a lossy format once, at high quality.

Why lossless and small rarely arrive together

A lossless format stores every pixel exactly and looks for a cleverer way to write them down. That works well on flat colors, screenshots and line art, where there's a lot of repetition to exploit. A photograph is full of noise and gradients, so there's very little repetition to find, and lossless files stay large however clever the encoder. MDN calls PNG the better choice for screenshots, diagrams and line art, and describes JPEG as a good format for photographs because they usually tolerate lossy compression.

So there are two answers, and which one applies depends on what you need. If every pixel has to survive, pick PNG or lossless WebP and accept the larger file. If the file has to be small, accept a lossy format and keep the loss below what anyone can notice.

A reliable method for shrinking photos with no visible loss

  1. Start from the original, not from a copy that has already been compressed. Each save to JPEG discards some detail, and repeated saves add up.
  2. Reduce the dimensions to what you need. A phone photo can be 4000 pixels wide and will be shown at 1200 or less. Dropping from 4000 to 1600 pixels removes about 84 percent of the pixels, far more than any quality slider saves. Use the image resizer.
  3. Save once, at high quality. Around 85 to 95 on the JPEG or WebP scale is hard to tell from the original in most photographs.
  4. Try WebP if the destination accepts it. Google's own testing found lossy WebP files 25 to 34 percent smaller than JPEG at the same measured similarity, and MDN gives 25 to 35 percent. Convert with the PNG to WebP tool, or choose WebP in the image compressor.
  5. Compare at full size, not in a thumbnail. Look at faces, text and smooth gradients such as sky.

web.dev's advice agrees: try several quality levels and take the lowest one that still looks right, since the right number depends on the picture.

Screenshots, logos and transparency: keep PNG

Choose PNG for screenshots, logos, diagrams and anything with transparency or sharp text. JPEG blurs hard edges, and the damage shows most on lettering. If a PNG is too large, shrink its dimensions, or try lossless WebP, which Google reports is about 26 percent smaller on average. Both keep every pixel, and the measured comparison is in PNG versus WebP.

Crop first: the saving people overlook

File size follows pixel count more than anything else, so cropping away what you don't need cuts the size and often improves the picture as well. The image crop tool does it without resampling the pixels that remain.

What the 0 to 100 quality number actually means

The scale is an encoder setting, and it doesn't measure how much of the original is kept. A 90 from one program differs from a 90 from another, and the same number behaves differently on different pictures. Treat it as a dial, check the result by eye, and watch the byte count. The compressor on this site reports both.

Saving a JPEG twice

Open a JPEG, change nothing, save it as a JPEG again, and the pixels have been re-encoded and a little more detail is gone. A chain of saves at low quality eventually shows up as blocks. Keep an original, work from it, and export once. The script reads the file in this tab and never sends your picture anywhere, so the picture is not uploaded. If the goal is a particular byte ceiling for a form or an email, fitting a photo under an email limit walks through it.

Questions people ask

Is it possible to compress an image with zero quality loss?

Only with a lossless format, and photographs gain little from it. For a much smaller file you accept some loss, and the aim is to keep it too small to see.

Is WebP smaller than JPEG?

Usually, by 25 to 35 percent at a similar look according to Google and MDN. The catch is that not every program or upload form accepts WebP, so check the destination first.

Why did my PNG get bigger?

PNG is lossless, so resizing or converting doesn't guarantee a saving, and photographs are expensive to store without loss. Converting a photograph from JPEG to PNG makes the file larger without improving it.

Do I lose quality each time I re-save a JPEG?

Yes. Each lossy save discards a bit more detail. Work from the original and export once, and the picture stays as good as the settings allow.

What does the quality number mean?

It's an encoder setting where higher means less compression and a larger file. It doesn't measure the share of detail kept, and the same number gives different results in different software.

What are the file limits of the compressor?

The compressor on this site works on one picture at a time, up to 100 MB and 120 megapixels. Larger files may fail on phones with little memory, so try a smaller copy first.

Sources

VELDRIN

Compress a copy for sharing and store the original in a vault

Get Veldrin