: Open the photo in the Photos app and look for the Live Text icon (a small square with lines) in the bottom-right corner to highlight and copy text directly.
If your goal is to an image from text (the opposite process), you can use the Online JPG Tools Text Maker to create a custom JPEG from your typed content. 0074.jpg
: Use Google Lens to "Scan text" from any photo in your gallery. If you meant turning text into a JPG image : Open the photo in the Photos app