Home » Questions » Computers [ Ask a new question ]

How to automate photoshop from the command line

How to automate photoshop from the command line

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:

Asked by: Guest | Views: 447
Total answers/comments: 2
bert [Entry]

"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.

mogrify -quality 100 *.jpg

There are several ways to set the quality, this just shows one."
bert [Entry]

"Actually, you can do this very easy in Photoshop with the creation of small executable tasks that run Photoshop macros (actions). This is called a Photoshop Droplet

http://www.dummies.com/software/adobe/photoshop/how-to-create-droplets-in-photoshop-cs6/"