Tools Nimbus

Why is my image still too big after compressing

Tools Nimbus is a free, no-signup developer toolkit that runs entirely in your browser, so your data is never uploaded to a server. An image that is still too big after compressing almost always has too many pixels. Quality settings shave bytes off an existing encode; pixel dimensions set the ceiling. Halve the width and height first, then re-encode with the Tools Nimbus Image Compressor.

Last updated September 2026

Pixels set the floor, quality only moves you toward it

A JPEG encoder works through the image in blocks, and the number of blocks is fixed by the pixel dimensions. Quality controls how coarsely each block is described, but there is a practical limit to how few bytes a block can take before it turns visibly blocky. So the file size you can reach is bounded from below by the pixel count, and the quality slider only moves you between that floor and the original size.

This is why resizing is so much more effective than re-compressing. Halving both the width and the height removes three quarters of the pixels, and the file size falls by roughly the same proportion at the same quality. Dropping quality from 90 to 75 might save 40 percent. Dropping it from 75 to 60 saves much less and starts to show. There is no quality setting that turns a 12 megapixel photograph into a 50 KB file without wrecking it.

Symptoms, causes and fixes

SymptomMost likely causeFix
Output is larger than the inputRe-encoding an already-compressed JPEG at a higher qualityKeep the original, or re-encode below its original quality
PNG does not shrink at allPNG is lossless, so a quality slider has nothing to act onConvert photographs to JPEG; reduce flat art to an indexed palette
Phone photo still around 2 MB12 megapixels, not the quality settingResize to the dimensions it will be displayed at
Screenshot is several megabytesA high-density capture is two or three times the logical sizeScale back to one times, and use JPEG if it contains a photograph
Cannot hit a 50 KB or 100 KB capThe target sits below the floor the dimensions allowResize first, then lower quality in steps
Transparent areas came out blackJPEG has no alpha channelStay on PNG or WebP, or flatten onto a chosen background
Blocky before it is small enoughQuality pushed far down on a detailed imageTrade dimensions instead of quality
Second pass saves almost nothingGeneration loss: the detail that compresses badly is already goneGo back to the original and export once at the size you need

What size is actually reachable

These are typical JPEG sizes for photographic content at a normal quality setting of around 75. They vary a great deal with subject matter, because a plain sky compresses far better than foliage or gravel, so treat them as a starting point rather than a promise.

  • 4032 by 3024 (12 MP, a typical phone photo): roughly 1.5 MB to 3 MB
  • 2048 by 1536 (3 MP): roughly 400 KB to 800 KB
  • 1600 by 1200 (2 MP): roughly 250 KB to 500 KB
  • 1024 by 768 (0.8 MP): roughly 100 KB to 200 KB
  • 800 by 600 (0.5 MP): roughly 60 KB to 120 KB

Read that list backwards when you have a hard limit. A form that caps uploads at 100 KB is asking for something around 1024 pixels wide, not for a heroic quality setting on a full-resolution photo.

Why a second compression pass barely helps

JPEG is lossy, and the loss happens once. The first encode quantizes the frequency coefficients of each block and throws away what it judges you will not notice. Feeding that result back in at the same quality re-quantizes numbers that have already been rounded, so you pay another generation of softness and ringing for a saving that is usually in the low single-digit percentages.

The practical rule is to always export from the original. If you need a thumbnail, a web image and an email attachment, produce all three from the source file rather than compressing the compressed version each time. The same applies across formats: converting a lossy WebP to PNG does not restore anything, it just stores the already-degraded result losslessly and at a larger size. That trap is covered in why is my WebP image not opening.

PNG is a different problem

PNG is lossless. It applies a reversible per-row filter and then DEFLATE compression, and that is the whole story, so there is no quality knob to turn down and a compressor that offers one cannot do anything useful to it. A photograph stored as PNG is commonly three to ten times the size of a comparable JPEG, and no amount of re-saving will change that.

There are only three real levers on a PNG. Convert it, if the content is photographic and you do not need transparency. Reduce the color count, if it is a logo, chart, icon or flat illustration, since an indexed 8-bit PNG of 256 colors is often 60 to 70 percent smaller than the 24-bit version and usually looks identical. Or cut the dimensions. If you are weighing the format choice itself, read JPG vs PNG first, because picking the wrong one is what creates most oversized images in the first place.

What our compressor does, and what it does not

The Tools Nimbus Image Compressor decodes your file in the browser, re-encodes it as a JPEG at the quality you choose, and shows the original and compressed sizes side by side. Nothing is uploaded, so it works on a private screenshot or a client photo without the file leaving your machine. Being clear about the limits matters more than the pitch, though:

  • It does not resize. The output keeps the original pixel dimensions. When dimensions are your problem, and they usually are, scale the image down in Preview, Photos, your phone gallery or an editor first, then run the smaller version through the compressor.
  • The output is always JPEG. That is what makes photographs shrink, and it is also why a small flat PNG can come out larger. If the before and after numbers tell you the file grew, keep the original.
  • Transparency is lost. JPEG has no alpha channel, so transparent regions are written out as solid black. Keep the PNG, or use the Image Format Converter to move to WebP, which supports transparency and is usually smaller than both.

A checklist

  1. Check the pixel dimensions before touching any quality setting.
  2. Decide the size the image will actually be displayed at and resize to it.
  3. Use JPEG or WebP for photographs, PNG only for flat graphics and text.
  4. Re-encode once, from the original, at the first quality that meets the limit.
  5. Compare the before and after sizes, and keep the original if it grew.
  6. For flat art, reduce the palette instead of reaching for a lossy format.
  7. Keep transparency in mind before converting anything to JPEG.
  8. Never generate a new size from a previously compressed export.

For the format decision behind most of these fixes, see JPG vs PNG, and for the format that keeps causing compatibility surprises see why is my WebP image not opening. All of our Tools Nimbus guides are indexed on one page.

Frequently asked questions

Why is my compressed image bigger than the original?+

Because the original was already compressed and you re-encoded it at a higher quality than it was saved with, or you converted a flat graphic from PNG to JPEG. A JPEG saved at quality 60 and re-encoded at quality 90 gets larger while looking slightly worse, since the second encode faithfully preserves the first encode's artifacts. Flat graphics behave the same way: PNG stores a logo with few colors very efficiently, and JPEG has to spend bytes describing the sharp edges it cannot represent cleanly. When the output is bigger, keep the original file.

How do I compress an image to 50 KB?+

Reduce the pixel dimensions first, then re-encode. At 4000 pixels wide, 50 KB is not reachable on a photograph without visible blocking, because the encoder has over 12 million pixels to describe. Around 800 by 600 it is comfortable at ordinary quality. Resize to roughly the size the image will actually be displayed at, then lower the quality in steps and stop at the first setting that meets the limit. Chasing the target with the quality slider alone is what makes images look destroyed.

Why does compressing a PNG do nothing?+

PNG is a lossless format, so it has no quality setting to turn down. It stores every pixel exactly and only applies reversible filtering and DEFLATE compression, which means a quality slider has nothing to act on. To make a PNG meaningfully smaller you have to change something real: convert a photograph to JPEG or WebP, reduce a flat graphic to an indexed palette of 256 colors or fewer, or cut the pixel dimensions. A screenshot of text is usually already close to its floor as a PNG.

Does compressing an image twice make it smaller?+

Barely, and it costs quality each time. The first JPEG encode already discarded the fine detail that compresses badly, so a second pass at the same quality re-quantizes data that has already been quantized. You lose another generation of sharpness and typically save single-digit percentages. Real reductions come from fewer pixels or a genuinely lower quality setting, not from repeated passes. If you need several sizes of an image, always export each one from the original rather than from a previous export.

Why did my transparent background turn black after compressing?+

JPEG has no alpha channel, so transparency cannot survive the conversion. When a transparent PNG is drawn and encoded as JPEG, the fully transparent pixels are written out as a solid color, which is usually black. Nothing is broken and nothing can be recovered from the JPEG afterwards. If the image needs transparency, keep it as PNG or convert it to WebP, which supports alpha. If it does not, flatten it onto the background color you want on purpose before converting.

What image dimensions should I upload to a website?+

Match the size the image is actually displayed at, then double it only if you are targeting high-density screens. A full-width hero on a typical layout rarely needs more than about 2000 pixels wide, an in-article image rarely more than about 1200, and a thumbnail rarely more than about 400. Uploading a 4000-pixel photograph so the browser can scale it down to 800 wastes bandwidth on every visitor and is the single most common reason an image will not fit an upload limit.

Try these browser-based tools mentioned in this guide. Everything runs locally, so your data never leaves your device.