Reduce the size of the image for better rendering