macOS 12 Shortcut: What was my Fujifilm Recipe?
NOTE: the link to this Shortcut, and then its changelog, is at the end of this page.
About
I’ve created a macOS 12 only Shortcut to remind me what Fujifilm Recipe or Film Simulation I used for my off the camera photos. It requires exiftool in your path (manually or via Homebrew etc). For some reason I couldn’t successfully compare dictionaries as text in an if statement so I am using hash.
This Shortcut is particularly handy if you use Apple’s Photos app on macOS and iOS. Photos makes searching Keywords easy.
License
This shortcut, possibly against best practice, is in the public domain for any use. Please use it and adapt it however you wish.
But it’s always so very nice to give people credit/attribution.
Detail
This Shortcut does the following:
- Runs exiftool against your chosen photo to get its metadata
- Matches the exifdata against a dictionary of known recipes (you can customize this)
- If there’s a known recipe match,
- it can alert you and/or
- use exiftool to keyword your chosen photo with “film recipe”, the matched recipe name, film simulation and saturation mode. NOTE: exiftool will modify your photo’s metadata
- If there’s no known recipe match, the Shortcut will at least tell you
- what film simulation and saturation modes were used and,
- it can also use exiftool to add “unknown recipe” and the film simulation and saturation keywords. Again, exiftool will modify the photo’s metadata.
I’ll update this Shortcut as I make it more sophisticated. I apologize in advance if it doesn’t seem to work for you :-)
Oh, and of course, all built-in or slightly modified recipes come from Fuji X Weekly and Life, Unintended.
Some Instructions for Use
So this Shortcut is tested on Straight Out of the Camera JPEGs from an X100V (X-Trans IV class camera). It requires exiftool as it can add keywords to a matched photo.
Be sure to add exiftool's path in the Shortcut if exiftool isn’t in your system path. There's three different places where you may need to add the path in this Shortcut.
You also need to add your own Recipes using the exact Schema in the FilmRecipe text box. Run this against a photo with a new recipe & get the JSON from /tmp/fujirecipelookup.txt and appropriately add to the FilmRecipe definition text box. Hashing is annoying like that.
By default, this Shortcut provides no alerts and it adds keywords to processed JPEGs.
Hint: if you allow the Shortcut access to Finder’s Quick Access, you can then right click an image in Finder, go to Quick Actions, and use the Shortcut! Or, if previews/column mode is enabled in Finder, left click an image and the Shortcut will show up below the image preview. Handy!
Batch processing: You can call this Shortcut in another Shortcut that uses Repeat with Each to process multiple JPEGs in one go via Finder Quick Actions (example here). You must enable Quick Actions in Shortcut settings. You can even chain additional shortcuts such as with my “What’s my Fujifilm Focal Length” Shortcut.
Download
Download this Shortcut from iCloud.com (you'll need to give the shortcut access during its first run -- the most seamless choice would be Always Allow):
https://www.icloud.com/shortcuts/50fc3355df8743329e29e4de76eaed2c
Changelog (I’ll update the iCloud link for each dated “release”):
Shortcut by Ryan Mikulovsky. [www.distortions.net](http://www.distortions.net)
Only tested on X100V metadata. Requires macOS 12 and exiftool.v.20220528 - Fixed some errors in settings of various film simulations such as The Rockwall, Optima 200.
v.20220129 - Added support for Dynamic Range Priority & added fujixweekly.com’s Scanned Superia recipe. Use SHA1 hashing instead of MD5. SHA1 is faster on modern hardware. I used MD5 originally just because I was used to seeing it ;-) Added prefix of “Saturation ” to the Saturation tag because it’s easy to figure what that number and parenthetical means.
v.20220122 - Removed Grain Effect since it is unlikely to affect results and it is probably the most likely setting to be overridden depending on the photography scenario (well, at least for me). YMMV.
v.20211220 - With exiftool, use -P to preserve file dates and use -overwrite_original to avoid backup copies of photos. Include film simulation and saturation in keywords for recipe matches and no matches. Split out the film simulation and saturation into their own keywords.
v.20211211 - make sure only JPEGs or JPGs are processed. RAW files are not developed though they can include a thumbnail of the developed JPEG.
v.20211208 - added exiftool keywording to photos with unknown recipes — it’ll keyword a photo with unknown recipe and then film mode/simulation (saturation). Did some clean-up and added more comments.
v.20211204 - added BWAdjustment to better match with B&W recipes. Added ability for shortcut to Keyword processed photos with “Film Recipe” and the determined recipe. As always, run this against a photo with a new recipe & get the JSON from /tmp/fujirecipelookup.txt and appropriately add to the FilmRecipe definition text box. Added setup to configure the shortcut to show alerts or to not add recipe keywords to a processed photo.
v.20211203 - added AlertMode so users can turn off alerts for scripting. Change NoAlerts in text block above to anything else if you want alert prompts. NoAlerts is used to turn off alert prompts. Use NoKeywords in keyword variable to not add keywords to processed images.
v.20211124 - Remove Dynamic Range because there is too much variability. There’s enough variables that removing DR from match shouldn’t result in false-positives. This allowed me to remove recipes that only had their DR adjusted (mostly because I accidentally set the wrong DR :-p)
v.20211123 - Film Simulations that come with this shortcut are mostly from Fuji X Weekly at [fujixweekly.com.](https://fujixweekly.com.) I’ve tweaked some of the simulations and those have parentheticals in the keys in the FilmSimulation text box.
20211123 - added a few more recipes I use, added missing photo file paths, restrict file input to just images.20211121 - initial release