Key takeaways
- Write down accepted formats, maximum bytes and required dimensions before converting.
- Encoder quality and output size ratio measure different things.
- An output can be a valid image and still fail your upload goal.
Start with the receiving form
A message such as “file too large” is not enough to choose settings. Check whether the form also requires JPG, limits pixel dimensions or rejects transparent images. If it states 100 KB, use 100000 bytes in this workspace. Some destinations use binary units despite a KB label; when the exact rule is unclear, leave a margin below it.
Keep the original and create a delivery copy. Repeatedly converting the previous lossy output compounds visible damage, so retries should start from the original input held in the workspace.
Run the supplied photo through a target search
Open Image Compressor and download photo.jpg from the sample list on the methodology page. It is the CC0 Chelsea cat photograph, useful for checking fur, whiskers and textured edges. Choose automatic mode, preserve the source format, enter 10000 bytes and keep the quality range at 60–90. Set maximum width to 400 px and leave extra shrinking off.
The fitted baseline is 400 × 266 px. Automatic mode tests actual encoded files within your range and stops at the first passing candidate in descending dimension and quality order. If it cannot meet 10000 bytes, it keeps the smallest candidate tested and reports how many bytes over the limit it remains. Output bytes depend on your browser encoder; the Results card is the measurement for your run, not a predicted percentage.
Change one boundary after a failure
If the first run fails, allow extra shrinking and retain the default 50% floor. The search may then go down to 200 × 133 px relative to the fitted baseline. That can meet a small limit while making the photo unsuitable for a large display. Inspect it at the destination size before accepting it.
Alternatively choose WebP if the destination accepts it, or lower the minimum quality deliberately. A larger quality range does not change the source dimensions. A lower dimension floor does not silently change format. Record which setting you changed so a successful result can be reproduced.
Use a different rule for screenshots and PNG
The screenshot sample contains text and thin lines. Start with PNG and leave dimensions unset when the text must remain crisp. PNG has no lossy quality slider. Reducing dimensions changes the pixels; explicitly choosing JPG flattens transparency and introduces lossy artifacts.
Compare original and output byte sizes. A negative reduction is displayed as a larger file, which can be a perfectly valid conversion but a poor upload choice. Setting a goal after conversion only checks the current file; changing encoding settings clears the old output and requires a new run.
Input and output examples
Input
photo.jpg; automatic target 10000 B; quality 60–90; maximum width 400 px
Output
A measured candidate within the selected boundaries
Read exact bytes in Results. A missed target is reported, not relabeled as success.
Input
screenshot.png; PNG; no resize
Output
Lossless PNG encoding at the original pixel dimensions
There is no fake PNG quality setting.
Final checklist
- Confirm the receiving format and exact byte ceiling.
- Inspect text or fine detail at the destination size.
- Download the current result after the final settings change.
Open the related tools
These tools connect directly to the workflow described in this guide.
Image Compressor
Set a real byte target for static JPG, PNG or WebP images, with explicit quality and resize boundaries.
PNG to JPG Converter
Convert PNG files to JPG with a chosen background, quality and optional size target.
JPG to WebP Converter
Make WebP copies of JPG photos with quality, dimension limits and measured size checks.
More guides
Continue with adjacent workflows and format comparisons.
Choose JPG, PNG or WebP using three real samples
Compare a photograph, a text screenshot and a transparent logo; choose by visible detail and destination support.
Prepare a PDF packet for an email or upload form
Assemble the right pages first, verify the finished packet and choose an honest approach to strict size limits.
Extract PDF text and recognize pages that need OCR
Try selectable text, Chinese text, a scan and a mixed document; distinguish empty results from extraction failures.