Aspect-ratio math — lock a ratio and solve the missing dimension, or identify a ratio from a resolution.