Dimensions and aspect ratio
Locking the aspect ratio lets you change one dimension while the other is calculated automatically. This prevents the image from being stretched.
Making a small source larger adds pixels by interpolation; it does not restore lost sharpness or texture. Start with a source at least as large as the intended output when possible.
Cropping to a new shape
Use cropping when the destination frame has a different shape from the source. Move the crop so that faces, products, logos, and useful surrounding space stay inside it.
Cropping removes pixels outside the selected area. Keep the original file if you may need another composition later.
Format and output quality
PNG is a dependable choice for transparency and sharp interface graphics. JPEG usually suits photographs, while WebP can work well for either photos or transparent web artwork.
Quality values are relative and browser encoders can differ. Compare the downloaded files rather than assuming the same number produces the same result everywhere.