Álvaro Ramírez continues to roll out new examples of applications for his dwim-shell-command framework. His latest offering is three functions that, given a photo:
- Display the EXIF information
- Displays the location of where the photo was taken in the minibuffer
- Displays the location of where the photo was taken on a map
All the heavy lift is done by ExifTool. As usual with dwim-shell-command
functions, the actual functions are just a little glue code that calls ExifTool
and displays the results. In the case of displaying the location on a map, the lat/lon is first extracted from the photo by ExifTool
and then used in a call to OpenStreetMap in the browser. It works with both macOS and X-based display systems.
The three functions, along with all the others are available in Ramírez’s dwim-shell-commands.el file. They’re all simple and easy to adjust to your particular workflow. Take a look at Ramírez’s latest post for a nice example of the power of this framework.