How the KB target is reached
A limit of 100 KB means 100 × 1024 = 102,400 bytes, not 100,000 bytes. The tool first checks the original file. If it is already under the limit, the original bytes are reused unchanged, including the original format and any metadata.
When the file is over the limit, the browser draws the image to a canvas and searches JPEG quality from 0.92 down to 0.35. The result panel shows the actual byte count before the download unlocks; the displayed number is measured from the encoded file, not estimated from the quality value.
- Full-size quality search happens before any dimension change is proposed.
- The result is labelled ready only when the final bytes meet the limit.
- A lower KB target usually means a lower JPEG quality or smaller dimensions.