How to automate photoshop from the command line
Fresh3 days ago
Mar 15, 202628111 viewsConfidence Score0%
0%
Problem
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: I tried first just doing photoshop.exe "%a" but it seems …
Error Output
for %a in (*.jpg) do mytool.exe "%a" || [AUTOMATED PROCESS HERE]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to automate photoshop from the command line
Low Risk
I would recommend using imagemagick to do this. It is a suite of command line tools for image manipulation. mogrify is the one you want for this job. There are several ways to set the quality, this just shows one.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix