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