Multiple Export Options in photoshop using JavaScript

Jan 06, 2021

Copy link to clipboard

Copied

Hi,

 

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

 

Thanks

Balaji murugesan

TOPICS
Actions and scripting

Views

39

Likes

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

Multiple Export Options in photoshop using JavaScript

Jan 06, 2021

Copy link to clipboard

Copied

Hi,

 

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

 

Thanks

Balaji murugesan

TOPICS
Actions and scripting

Views

40

Likes

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
Jan 06, 2021 0
Adobe Community Professional ,
Jan 06, 2021

Copy link to clipboard

Copied

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:

https://community.adobe.com/t5/Photoshop/First-post-After-a-script-for-saving-files/m-p/10669755

 

Likes

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
Reply
Loading...
Jan 06, 2021 0