Rather than continuing to use [ExifTool](https://exiftool.org/) as an external executable to write EXIF metadata, migrate to [Exiv2](https://www.exiv2.org/) which can be included as a library.