How to resize a picture to the correct size

Tree on a hill at sunset, cropped