How JPG compression works here
Toolmera decodes the source JPG, draws the pixels to Canvas and exports a fresh JPEG at the quality level you choose. Lower settings generally reduce file size more but can introduce softness or compression artifacts.
There is no universal percentage saving because the result depends on how the source file was originally encoded and how much visual detail it contains.
Why the result may not always be smaller
A JPG that was already heavily optimized can sometimes become larger when re-encoded at a new setting. Toolmera compares the bytes and keeps the original file when the new JPEG would be larger.
The displayed before-and-after size is the useful measure for your specific image.
Resize, compress or convert?
Resize Image changes pixel dimensions. Compress JPG keeps JPG but changes encoding quality. JPG to WebP changes the image codec entirely.
If a photo is far larger than its display size, resizing first and then compressing is often the more effective workflow.