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