How do you nondestructively crop an image without permanently discarding pixels?
Make a selection and click Image > Crop.
Clear the Deleted Cropped Pixels check box.
Click Image > Trim and select Transparent Pixels.
Select the Delete Cropped Pixels check box.