9
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 17 Aug 2024
9 points (90.9% liked)
Apple
2 readers
1 users here now
Here you can talk about Apple's ecosystem, Apple's OSs (Operating Systems), Apple's apps, Apple's everything!!
founded 4 years ago
MODERATORS
I don't have an iPhone, though I understand the shortcuts of Mac os are supposed to be compatible with iOS so maybe there's a possibility the instructions could work on my Mac. I don't want to convert the images though just strip that metadata.
The other thing is, I kind of want to do it this way because there's something of an ulterior motive here where I want to learn to make simple applications and buttons that work with various command line apps I use frequently on my computer, like a crude form of home made GUI. I find that there are often such apps where I only use one or two commands and use just often enough to need an easier way but infrequently enough not to remember the syntax of what to type.
FWIW the Convert Image action can be set to "Preserve Input" and still has a checkbox to clear metadata.
However I think image format handling is bugged, at least on iOS when importing from Photos, since I used it recently and it converted screenshots (which are PNG) to JPEG when used in my shortcut, even with "Preserve Input", and I had to explicitly convert to PNG to keep the format, so I don't know how much that will actually do for you.
There is also a Run Shell Script action in Shortcuts on macOS which should help you if you want to do it with exiftool.
Here's a small example shortcut that opens a file dialog and uses it in a shell script: https://www.icloud.com/shortcuts/a1d29c165ba14b7a910de0a603443b3a