to change the output size to match the photo's exact dimensions. Align Gizmos
By following this guide:
Your overhead photo must contain a rectangular grid or parallel lines. The best candidates: fspy 3ds max top