Use a Ceiling Instead of an Exact Weight
The encoder aims for the requested allowance without padding a smaller result. JPG and WebP first search quality at the current resolution before reducing dimensions when necessary.
- Keeps the actual result size visible for review
- Retains current pixel dimensions when encoding can fit
- Lets you revise the target and output format