Skip to main content
Inspiring
January 24, 2022
Question

Cannot save image files into their originating folders using the 'batch' command.

  • January 24, 2022
  • 4 replies
  • 432 views

I am obviously missing something here as it must be so simple to achieve this that I am just not setting this batch function up correctly.

 

I am trying to save a set of images - all nested in their own subdirectories taken from my website - from JPG to WEBP format.

 

The way I am doing this, as i understood it needed to be done, was to create an 'action', which includes opening a file, save as dialogue, and closing the file, and then using this action within the 'batch' interface to target a folder - not 'opened files'.

 

I leave the destination as 'none' which may be where I am making the mistake.

 

When i do all of this, the software just saves all of the WEBP files into one directory. I do not even know how it is selecting this directory as I unless I have missed something, I have not provided a link to this at any point.

 

 

This topic has been closed for replies.

4 replies

Bojan Živković11378569
Community Expert
Community Expert
January 26, 2022

"

I leave the destination as 'none' which may be where I am making the mistake.

 

When i do all of this, the software just saves all of the WEBP files into one directory. "

 

Yes, that is "mistake"you have recorded saving path (destination) in your Save step without overwriting it. See explanation provided by @Stephen Marsh 

Stephen Marsh
Community Expert
Community Expert
January 26, 2022

Batch will open the files, so all you need is the Save As step with the Google Photoshop WebP plugin settings as per the attached screenshot annotated with Snagit:

 

 

Here you can see the result, the original files were not altered and the WebP versions were saved in each sub-folder under the main top-level folder next to the original files:

 

 

More on Automate > Batch here:

https://helpx.adobe.com/photoshop/using/processing-batch-files.html

 

The Image Processor and Image Processor Pro scripts can also save into the originating folder.

 

I was pleasantly surprised with the support for both actions and scripting with this plugin:

Inspiring
February 8, 2022

This saves the first file but no others.

Stephen Marsh
Community Expert
Community Expert
February 8, 2022

You should illustrate with screenshots of the fully expanded action and the batch setup.

Kukurykus
Legend
January 25, 2022

Choose in Batch destination Folder and override Action location.

D Fosse
Community Expert
Community Expert
January 24, 2022

Make sure you are not including a save path in the action - it should just be Save - OK.

 

You should also make sure you're not doing anything to the file that is not allowed in the jpeg specification. That is, pretty much anything. The file has to be flat, 8 bit, no transparency and no alpha. The safest way is to include these steps in the action to ensure jpeg compliance.

 

As long as you have a Save in the action, batch destination should be "none".

 

WEBP is a dark horse here. The format is not natively supported in Photoshop, you need a plugin. So maybe that causes hiccups.