Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the longest possible delay between GIF frames?

Tags:

gif

I've searched and found no answer, and the GIF specification is over my head. What is the longest possible delay between frames in a GIF animation?

like image 882
felwithe Avatar asked Mar 29 '14 03:03

felwithe


People also ask

What is the longest time for a GIF?

A GIF (Graphics Interchange Format) titled 'As Long As Possible' or 'ASLAP' is scheduled to end in 3017, making it the longest known GIF. There are 48,140,288 frames which change in a ten-minute interval, making the loop last a 1,000 years.

What is delay time in GIFs?

Typically, GIFs have a frame rate of 10fps (or a 100ms delay) because they are simplified versions of a video.

How many seconds should each frame be for a GIF?

Standard GIFs run between 15 and 24 frames per second. Overall, the smaller your GIF file size, the lower the quality will be. When creating GIFs for the web, it is all about finding the smallest file size possible without sacrificing too much quality.

Are 60fps GIFs possible?

So exactly 60 FPS is not possible. Note that this extension was meant for a handful of frames with a delay on the order of seconds (maximum delay is about 600 seconds), so 1/100 seconds resolution was ample. It certainly wasn't meant for video, and that's why the field encodes delay, and not frame rate.


1 Answers

Your reference says the delays are 2 byte unsigned integers and the unit is 100ths of a second. So the max duration in seconds would be (2^16-1)/100 = 65535/100 = 655.35s or about 11 minutes.

like image 112
Rhythmic Fistman Avatar answered Oct 12 '22 14:10

Rhythmic Fistman