Forms often reject images because the subject is too small, the photo is sideways, or there is too much irrelevant background. Cropping fixes the framing. Rotation fixes the orientation.
For IDs, receipts, certificates, and profile photos, crop tightly enough that the important content is readable but leave enough margin that nothing feels cut off.
Use Crop and Rotate Image before resizing or compressing. The order matters: frame the image first, then make it smaller.