I use on my iPhone HEIF (High Efficiency Image File Format) format for storing my photos.
This format is widely supported throughout Apple ecosystem but sometimes I need to quickly convert photos from HEIF to JPG to be able to use these photos also elsewhere (Windows, some websites, etc.)
I use for this purpose convert
command line tool from ImageMagick