convert-to-JPEG

sips -s format jpeg [input-file] --out [output-file]

#chatGPT: To convert HEIC files to JPEG format in the command line on Mac, you can use the "sips" (Scriptable Image Processing System) command-line tool that comes pre-installed on macOS. If it's not installed, you can install it using the following command: