Three things cause this: the quality setting, the pixel size, and the file format.
If you need an exact size
Use Compress Image to Target Size. Type a target in KB, such as 100, and pick JPG or WebP. It searches for the best quality that fits, and shrinks the picture when quality alone is not enough.
If the Image Compressor barely helps
- Lower the quality slider. It goes from 30 to 95 and starts at 80.
- Do not pick PNG as the output. PNG is lossless, so the file can stay large or grow. The result panel shows "larger" when that happens.
- Pick JPG or WebP. Auto turns a PNG into WebP for you.
- Resize first with the Image Resizer. A 4000 pixel photo shown at 1200 pixels carries a lot of pixels nobody sees.
If the target cannot be reached
The tool says it could not reach the target size. Try a larger target or a smaller image, then run it again.