Reduce the size of the image