What is the difference between fit, fill and stretch resize modes?
Fit scales the image to fit within the target dimensions while preserving the aspect ratio. If the aspect ratios differ, white padding is added. Fill scales the image to fill the target dimensions while preserving the aspect ratio, cropping the center if needed. Stretch forces exact dimensions regardless of aspect ratio and may distort the image.