Skip to main content
New Participant
September 19, 2024
Question

Generate Image Assets as webp

  • September 19, 2024
  • 2 replies
  • 315 views

Ok I need to be able to use generate image assets but using the .webp format.  I found a script called Generator.json that if put in the user directory on a Windows PC it would allow Photoshop to use webp's in the generate image assets.  Code in the .json file below.  Now it work with the latest version of Photoshop.  25.12.0, on window 10.  But I just upgraded to Windows 11 and now when I use generate image assets it makes blank webp files.  Does anyone have a solution to get webp to work in photoshop on windows 11.  I wish photoshop would just add it as a native export.

Script in the Generator.json

{
    "generator-assets": {
        "webp-enabled": true,
        "webp-lossless": false
    }
}

2 replies

Stephen Marsh
Community Expert
August 22, 2025

Hacking Generator is beyond my knowledge, apart from the configuration file, there's nothing that I know to make this work if it is failing to produce the correct results.

 

There are many layer saving scripts, which may support WebP or could be updated to do so.

 

Otherwise, one can bulk save to PNG and then use a batch script to save WebP:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/export-many-files-at-once-in-webp-format-photoshop/td-p/13604411/page/4#U14859793

Bojan Živković11378569
Community Expert
August 22, 2025

I will tag a few scripters who may be able to help you @c.pfaffenbichler @Stephen Marsh 

Ged_Traynor
Community Expert
August 22, 2025

@Bojan Živković11378569 not sure if you realise, but the original post is from September last year