Here is an AppleScript that depends upon the free, third-party EXIFtool utility to extract a JPG image (with EXIF metadata) from a camera raw image, whether that camera model is supported or unsupported by the operating system.
Whether Apple Silicon or Intel Mac, the ExifTool installer places the executable in /usr/local/bin/exiftool as the script indicates.
Once EXIFTool is installed, one performs a shift+cmd+U in the Finder, and then double click the Script Editor found there to launch it. Click New Document and select Desktop since it is handy.
Copy the following code into the Script Editor, click the hammer icon, and then run it, where it will only look for camera raw type files in the File Chooser.
use scripting additions
set thisImage to POSIX path of (choose file of type {"public.camera-raw-image"} default location (path to desktop)) as text
my makeRawAsJPG(thisImage)
return
on makeRawAsJPG(image)
try
return (do shell script "/bin/zsh -s <<'EOF' - " & image's quoted form & " >& /dev/null" & "
#!/bin/zsh
/usr/local/bin/exiftool -m -q -if '$jpgfromraw' -b -jpgfromraw -w %d%f_%ue.jpg \\
-execute -if '$previewimage' -b -previewimage -w %d%f_%ue.jpg \\
-execute -tagsfromfile @ -srcfile %d%f_%ue.jpg -overwrite_original \\
-common_args --ext jpg \"${1}\"
exit 0
EOF")
end try
end makeRawAsJPG
