Changin resolution of the images