width x
ratio nearest neighbor