Skip to main content
Sanpanza
Known Participant
September 23, 2023
Question

Batch Process images to WebP

  • September 23, 2023
  • 1 reply
  • 20311 views

How can I batch process hundreds of files to Webp format? I have been using PS for decades, and there is no native way that I can see of batch exporting images as Webp files.

 

I can do this in Lightroonas jpegs, but they are too large. Is there any way of batch converting 400 jpeg files to webp?

 

I tried batch processing for the first time after creating a "Save as Copy" script, but it made me go through each step manually and did not save time. Any thoughts on this matter would be greatly appreciated.  

1 reply

Stephen Marsh
Community Expert
Community Expert
September 23, 2023

Creating an action and using the batch command is the "standard native way", perhaps your action was set to "step by step" and not "accelerated" playback.

 

Anyway, I wrote a script for this:

 

Participant
October 19, 2023

Hi Stephen, thanks so much for this script. Super helpful. If I wanted to the webp files to save without exif, xmp data, and ps data where would I edit the code?

Sanpanza
SanpanzaAuthor
Known Participant
October 19, 2023

First, I exported my RAW images fas JPEGs from LightRoom, where I excluded EXIF, XMP, and metadata. Then, from those jpegs, I used Stephan's PS script to export the JPEGs as WebP files. Worked like a charm.