Simplify width/height into a ratio.
Reduce width/height to a simplest ratio.
Use integer pixels.
16:9