Adjusting the image resolution