Skip to main content
Participant
April 14, 2022
Question

How can i create an action that opens a file and saves as a WEBP and use as Batch

  • April 14, 2022
  • 2 replies
  • 631 views

Hi,

 

I want to create an action where it opens a JPEG file, saves as a WEBP and then closes. I have multple files to save as WEBP's. I have tried to do this action before and it worked... but only for one file. It doesnt work in Batch. 

 

Help...

This topic has been closed for replies.

2 replies

Bojan Živković11378569
Community Expert
Community Expert
April 15, 2022

ĆI have tried to do this action before and it worked... but only for one file. Ć

 

Expand and take a look at Save step. You probably have recorded exact path and file name in action step what is causing action to always write file in the same folder with the same name what is causing overwriting.

Stephen Marsh
Community Expert
Community Expert
April 14, 2022

You can use the script that I created for the following topic thread:

 

 
The script can be recorded as a single step into an Action, then used with the Batch command. Changes may need to be made as it was not written for batching.
 
It uses the active layer and name to save, but that could be changed if required. It uses the following plugin:
 
Here it is with an Action/Batch, tested, it works:
 
c.pfaffenbichler
Community Expert
Community Expert
April 14, 2022

Is the plugin still necessary? Wasn’t webp including in the default file formats? 

Stephen Marsh
Community Expert
Community Expert
April 14, 2022

@c.pfaffenbichler wrote:

Is the plugin still necessary? Wasn’t webp including in the default file formats? 


 

I'll take a look at 2022, most of the time I'm in 2021...

 

EDIT: You are correct, it is native in 2022.