How to automate photoshop from the command line.
- by Raymond
I have a tool which writes some tags to a photo. On some photos it fails, and for those I want to open them in photoshop, and resave it with maximum quality (jpeg). Ideally I would like to do that from the command line as then I can just do:
for %a in (*.jpg) do mytool.exe "%a" || [AUTOMATED PROCESS HERE]
I tried first just doing photoshop.exe "%a" but it seems photoshop doesn't even accept a command line argument for what photo to open.