Preserve Resolution When Encoding Can Fit
JPG and WebP search the allowed quality range at the existing dimensions. They downscale proportionally only when that resolution cannot reach the requested ceiling.
- Keeps the selected aspect ratio during required reduction
- Reports the actual size for comparison with the limit
- Leaves the allowance and format available for revision