Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How set frame delay of gif with Photoshop Script

New Here ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

I'm new at this. I'll be glad for any advice. I researched the documentation and also tried to find something useful here but I didn't find anything. I try to write the code which gets the last frame of the gif and sets the delay of this frame. Like on this screenshot in Photoshop. Any ideas? Thanks for attention!

Pseudocode example: 


const allFrames = myGif.getAllFrames

const lastFrame = allFrames[allFrames.length - 1]

lastFrame.setFrameDalay(1)

 

Something like this...

 
 

Untitled-1.jpg

TOPICS
Actions and scripting

Views

369

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
community guidelines
Adobe Community Professional ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

Please post the name of the Adobe program you use so a Moderator may move this message to that forum

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
community guidelines
New Here ,
Feb 23, 2020 Feb 23, 2020

Copy link to clipboard

Copied

I use Adobe Photoshop. And I want to automate some work with usage Photoshop Script. Can you give me advice about where I can ask about it? Thanks in advance!

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
community guidelines
Adobe Community Professional ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

I don't know what code you're talking about. This has nothing to do with code.

 

  1. From Photoshop CC,  click on the last frame in your timeline, click the downward triangle and select your delay rate from the list. 
  2. File > Export > Save for Web (legacy) > animated GIF.

 

Nancy O'Shea, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

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
community guidelines
New Here ,
Feb 24, 2020 Feb 24, 2020

Copy link to clipboard

Copied

LATEST

Thank you for your answer! But I try to do the same actions with help Photoshop Script to automate. Probably I am asking in the wrong place about it.

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
community guidelines