Pixels and Aspect Ratio Calculation