We run a quality and resolution sweep until the output sits near 20 KB. Everything stays on your device.
We keep iterating until the size converges on 20 KB.
We aim for 20 KB and settle on the closest size possible when an exact match is not achievable.