int conversion of w/h