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

Multiple Export Options in photoshop using JavaScript

Participant ,
Jan 06, 2021 Jan 06, 2021

Hi,

 

How to create PDF, GIF and PNG in Photoshop using JavaScript?

 

Thanks

Balaji murugesan

TOPICS
Actions and scripting
494
Translate
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
Adobe
Community Expert ,
Jan 06, 2021 Jan 06, 2021
LATEST

You'll need to decide whether you are using Save As or Export/Save for Web for the GIF and PNG file formats.

 

You'll also need to decide which options to use for each file format.

 

In all cases you would probably create a separate function containing the required SaveOptions for each file format.  You'll also need to setup a save path and document naming and call the various functions.

 

It is not clear whether all three file formats should be saved each time the script is run, or whether the user is required to pick and choose combinations of the three formats.

 

There are many examples for saving different file formats in various forum posts, here is one example of saving PSD & JPEG versions in the same script:

First post 🙂 After a script for saving files

 
Translate
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