• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
8

Generate Image Assets -> Webp

Community Beginner ,
Sep 21, 2022 Sep 21, 2022

Copy link to clipboard

Copied

Photoshop now has webp image support, which is great, but it does not work when generating image assets using the File->Generate->Image Assets workflow. Presently, it just gives an error with 'Unsupported extension: webp".

 

Considering Adobe is advertising 'full support' for webp in photoshop, this seems like an oversight.

 

Please roll the webp functionality into the generate image assets workflow.

 

Why is it valuable to me:

WebP files are particularly useful for web development. The generate image assets workflow is also very web-dev friendly. I would be using this combo constantly if it were possible. Instead I have to slowly export-as my way around multiple documents. The current situation feels like stepping back in time.

 

Idea No status
TOPICS
Actions and scripting , macOS , Windows

Views

505

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
6 Comments
Participant ,
Nov 16, 2022 Nov 16, 2022

Copy link to clipboard

Copied

If you make a small change in this file

C:\Program Files\Adobe\Adobe Photoshop 2022\Required\Plug-ins\Generator\game_assets.generate\lib\parsermanager.js

 

you can make it work.

Change 
"webp": !!this._config["webp-enabled"]

 

to

"webp": this._config.hasOwnProperty("webp-enabled") ? !!this._config["webp-enabled"] : true,


BUT if you move to Photoshop 2023 that's different now... And I have no idea how to solve the problem this time, so I'm going to open a new post asking that :S

Votes

Translate

Translate

Report

Report
New Here ,
Aug 30, 2023 Aug 30, 2023

Copy link to clipboard

Copied

Hi all, any update on this request for webp support using generate?


Votes

Translate

Translate

Report

Report
Community Beginner ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

Using PS 2024 on Windows it works for me now. Just needed to enable it within the Configuration Options.
https://github.com/adobe-photoshop/generator-assets/wiki/Configuration-Options#sample-configuration

Votes

Translate

Translate

Report

Report
New Here ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

Thanks for the heads up, I'm using Mac and M1 and Generator config panel is noted to not be supported. Is there other ways to enable it?

Votes

Translate

Translate

Report

Report
Community Beginner ,
Sep 26, 2023 Sep 26, 2023

Copy link to clipboard

Copied

* Create a new txt file, copy this in there, save and close it:
module.exports = {
"generator-assets": {
"webp-enabled":true,
"webp-lossless":false,
}}

* rename your .txt file to generator.js
* save your generator.js file at this location and restart PS:

Windows     C:\Users\<UserName>
Mac            /Users/<UserName>/

Votes

Translate

Translate

Report

Report
New Here ,
Sep 27, 2023 Sep 27, 2023

Copy link to clipboard

Copied

LATEST

Amazing thanks mate, just tested and this is working perfectly. I was also able to add percentage value to optimise the WebP compression amount.

Votes

Translate

Translate

Report

Report