I have a plan, will try and get it implemented this week. One question - do you need the values to be dynamic?
i.e. Will the resolutions be defined at boot? Or at runtime (e.g. via site settings)?
The former is easier… but the latter might be possible as well