If the photo is of a document (an ID, a receipt, a prescription), scanning gives you a better PDF than a picture: iOS straightens the page and crops the edges. If the photo already exists, convert it.
1. A photo already on your iPhone: the Files app
- In Photos, open the photo, tap Share and tap Save to Files.
- In Files, touch and hold the image.
- Tap Quick Actions, then Create PDF.
For several photos in one PDF: save them to one folder, tap the three dots, tap Select, pick the photos and tap Create PDF. Steps as described by iGeeksBlog.
2. A photo of a document: scan straight to PDF
From Apple Support:
- In Notes, open a note, tap the attachment button and tap Scan Documents. In Files, it's More > Scan Documents.
- Point the camera at the page: in Auto mode it captures on its own.
- Tap Keep Scan, scan any other pages and tap Done.
Two-sided documents: scan both sides in a row and they become two pages of the same PDF.
3. Scan, combine and keep it locked: SafeDoc
In SafeDoc, one tap opens the scanner: auto-crop straightens the page and several pages become one clean PDF. Photos you import can be merged into a PDF too, one per page. Everything stays in the app's folders behind a PIN or Face ID, and search finds a document by a word inside it.
Already have PDFs and want one file? See how to merge PDF on iPhone.