Scripting exiftags of image files by calling Swift Handlers from Apple Script
See the post by VikingOSX in this discussion:
EXIF data ISO value not displayed when us… - Apple Community
It is showing a great example on how to call Swift handlers from an Apple Script. You need to install the Xcode command line tools to do this.
The example script will extract the exif tags of an image and display them.