Enter a ratio of height and width, then either add margins to the image to make it that ratio, or crop the image to that ratio. Does not crash even with heavy images. High image quality.