modified image height and width